Part Number Hot Search : 
N5266 AWG610 EP2A25 SE105N MUR3020 29DL163 SF2001E D6413
Product Description
Full Text Search
 

To Download ISP1561BM Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  isp1561 hi-speed usb pci host controller rev. 01 06 february 2003 product data 1. general description the isp1561 is a pci-based, single-chip universal serial bus (usb) host controller. it integrates two original usb open host controller interface (ohci) cores, one hi-speed usb enhanced host controller interface (ehci) core and four transceivers that are compliant with hi-speed usb and original usb. the functional parts of the isp1561 are fully compliant with universal serial bus speci?cation rev. 2.0 , open host controller interface speci?cations rev. 1.0a , enhanced host controller interface speci?cation for universal serial bus rev. 0 . 95 , pci local bus speci?cation rev. 2.2 and pci bus power management interface speci?cation rev. 1.1 . the integrated high performance usb transceivers enable the isp1561 to handle all hi-speed usb transfer speed modes : high-speed (480 mbit/s), full-speed (12 mbit/s) and low-speed (1.5 mbit/s). the isp1561 provides four downstream ports that enables simultaneous connections of usb devices at different speeds. the isp1561 provides three downstream port status indicatorsgoodlink? along with green and amber ledsto allow user-rich messages of the root hub downstream ports status, without requiring detailed port information to be re?ected in the internal registers. the isp1561 is fully compatible with various operating system drivers, such as microsoft ? windows ? standard ohci and ehci drivers that are present in windows 98 second edition (se), windows millennium edition (me), windows xp and windows 2000. the isp1561 directly interfaces to any 32-bit, 33 mhz pci bus. it has 5 v-tolerant pci pins that can source 3.3 v. the pci interface fully complies with pci local bus speci?cation, rev. 2.2 . the isp1561 is ideally suited for use in hi-speed usb host-enabled motherboards, hi-speed usb host pci add-on card applications, mobile applications, and embedded solutions. to facilitate motherboard development, the isp1561 can use the available 48 mhz clock signal to reduce the total cost of a solution. however, to reduce the electromagnetic interference (emi), it is recommended that the 12 mhz clock is used in pci add-on card designs.
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 2 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 1.1 abbreviations did device id ehci enhanced host controller interface emi electromagnetic interference hc host controller hcca host controller communication area hcd host controller driver ohci open host controller interface pmc power management capabilities pme power management event pmcsr power management control/status usb universal serial bus vid vendor id.
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 3 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 2. features n complies with universal serial bus speci?cation rev. 2.0 n supports data transfer at high-speed (480 mbit/s), full-speed (12 mbit/s) and low-speed (1.5 mbit/s) n two original usb ohci cores comply with open host controller interface speci?cation for usb rev. 1.0a n one hi-speed usb ehci core complies with enhanced host controller interface speci?cation for universal serial bus rev. 0.95 n supports pci 32-bit, 33 mhz interface compliant with pci local bus speci?cation rev. 2.2 with support for the d3 cold standby and wake-up modes; all i/o pins are 3.3 v standard, but 5 v-tolerant n compliant with pci bus power management interface speci?cation rev. 1.1 for all hosts (ehci and ohci), and supports all power states : d0, d1, d2, d3 hot and d3 cold n four downstream ports with support for three types of downstream port indicator leds : goodlink?, amber and green leds n clkrun support for mobile applications, such as internal notebook design n con?gurable subsystem id and subsystem vendor id through external eeprom n con?gurable two or four port root hub n digital and analog power separation n supports hot plug and play and remote wake-up of peripherals n supports individual power switching and individual overcurrent protection for downstream ports n supports partial dynamic port-routing capability for downstream ports that allows sharing of the same physical downstream ports between the original usb host controller and the hi-speed usb host controller n supports legacy ps/2 keyboards and mice n uses 12 mhz crystal oscillator to reduce system cost and emi emissions n operates at +3.3 v power supply input n full industrial operating temperature range from - 40 to + 85 c n full-scan design with high fault coverage (93% to 95%) ensures high quality n lqfp128 package available. 3. applications n pc motherboard n notebook n pci add-on card n set-top box (stb) n web appliance.
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 4 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 4. ordering information table 1: ordering information type number package name description version ISP1561BM lqfp128 plastic low pro?le quad ?at package; 128 leads; body 14 x 14 x 1.4 mm sot420-1
xxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x xxxxxxxxxxxxxx xxxxxxxxxx xxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxx xx xxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxx xxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxxxxxx xxxxxx xx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxx xxxxx x x philips semiconductors isp1561 usb pci host controller 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. product data rev. 01 06 february 2003 5 of 102 5. block diagram fig 1. block diagram. 89 87 18 19 123 15 4 88 92 95 91 90 102 103 ISP1561BM pci-bus xtal1 xtal2 ram ohci (function 0) ram ohci (function 1) ram ehci (function 2) original atx hi-speed atx atx1 configuration space pci core pci master pci slave configuration function 0 configuration function 1 configuration function 2 xosc por vdd_detect ad[31:0] c/be#[3:0] req# gnt# idsel inta# frame# devsel# irdy# clkrun# par perr# serr# trdy# stop# rst# global control port router smi# sel48m scl sda v dd oc1 amb1 grn1 gl1 pwe1 dm1 dp1 oc3 amb3 grn3 gl3 pwe3 dm3 dp3 oc2 amb2 grn2 gl2 pwe2 oc4 amb4 grn4 gl4 pwe4 dm2 dp2 dm4 dp4 irq1 irq12 kbirq1 muirq12 a20out legacy keyboard and mouse support sel2ports av aux_pll av aux v aux rref corereset 105 113 114 112 106 116 117 original atx hi-speed atx atx3 96 99 100 98 97 109 110 original atx hi-speed atx atx2 119 94 107 101 11 13 12 8 7 9 126 127 125 120 122 123 original atx hi-speed atx atx4 pme# clk 004aaa156 gnd_rref agnd dgnd
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 6 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 6. pinning information 6.1 pinning fig 2. pin con?guration. mbl340 ISP1561BM 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 sel48m scl sda pme# v aux dgnd irq1 irq12 sel2ports v dd a20out kbirq1 muirq12 dgnd smi# inta# v dd rst# clk gnt# dgnd req# ad[31] ad[30] v dd ad[29] ad[28] ad[27] dgnd ad[26] ad[25] ad[24] oc2 grn1 gnd_rref av aux amb1 gl1 pwe1 oc1 xtal2 xtal1 dgnd v aux ad[0] dgnd ad[1] ad[2] v dd ad[3] ad[4] ad[5] dgnd ad[6] ad[7] v dd c/be#[0] ad[8] ad[9] dgnd ad[10] ad[11] ad[12] v dd 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 33 34 35 36 37 38 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 128 127 126 125 124 123 dm4 av aux pwe4 oc4 agnd dp3 dm3 av aux grn3 amb3 gl3 agnd dp2 dm2 av aux rref pwe3 oc3 agnd dp1 dm1 av aux_pll grn2 amb2 gl2 pwe2 dgnd grn4 amb4 gl4 agnd dp4 ad[21] ad[20] v dd ad[19] ad[18] ad[17] dgnd ad[16] c/be#[2] frame# v dd irdy# trdy# devsel# dgnd stop# clkrun# perr# v dd serr# par c/be#[1] dgnd ad[15] ad[14] ad[13] v d d c/be#[3] idsel ad[23] dgnd ad[22] 90 89 88 87 86 85 84 83 82 81 96 95 94 93 92 91 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 7 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 6.2 pin description table 2: pin description symbol [1] pin type description sel48m 1 i selection between 12 mhz crystal and 48 mhz oscillator; push-pull; ttl with hysteresis; 5 v tolerant 0 12 mhz crystal is used 1 48 mhz oscillator is used scl 2 o i 2 c-bus clock (open-drain) [2] sda 3 i/o i 2 c-bus data (open-drain) [2] pme# 4 o pci power management event; used by a device to request a change in the device or system power state; push-pull, open-drain; 10 ns slew rate control; cmos; 5 v tolerant v aux 5 - auxiliary voltage (3.3 v) dgnd 6 - digital ground irq1 7 o system keyboard interrupt; push-pull, open-drain; 10 ns slew rate control; cmos; 5 v tolerant irq12 8 o system mouse interrupt; push-pull, open-drain; 10 ns slew rate control; cmos; 5 v tolerant sel2ports 9 i active downstream port selection; push-pull; ttl with hysteresis; 5 v tolerant 0 all the four ports are active 1 only port 1 and port 2 are active; port 3 and port 4 are inactive v dd 10 - supply voltage (3.3 v) a20out 11 o legacy gate 20 output; push-pull, open-drain; 10 ns slew rate control; cmos; 5 v tolerant kbirq1 12 i legacy keyboard interrupt input; push-pull; ttl with hysteresis; 5 v tolerant [3] muirq12 13 i legacy mouse interrupt input; push-pull; ttl with hysteresis; 5 v tolerant [3] dgnd 14 - digital ground smi# 15 o system management interrupt; push-pull, open-drain; 10 ns slew rate control; cmos; 5 v tolerant inta# 16 o pci interrupt; push-pull, open-drain; 10 ns slew rate control; cmos; 5 v tolerant v dd 17 - supply voltage (3.3 v) rst# 18 i pci reset; used to bring pci-speci?c registers, sequencers and signals to a consistent state; push-pull; ttl with hysteresis; 5 v tolerant clk 19 i pci system clock (33 mhz) gnt# 20 i pci grant; indicates to the agent that access to the bus has been granted dgnd 21 - digital ground
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 8 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. req# 22 o pci request; indicates to the arbitrator that the agent wants to use the bus ad[31] 23 i/o bit 31 of multiplexed pci address and data ad[30] 24 i/o bit 30 of multiplexed pci address and data v dd 25 - supply voltage (3.3 v) ad[29] 26 i/o bit 29 of multiplexed pci address and data ad[28] 27 i/o bit 28 of multiplexed pci address and data ad[27] 28 i/o bit 27 of multiplexed pci address and data dgnd 29 - digital ground ad[26] 30 i/o bit 26 of multiplexed pci address and data ad[25] 31 i/o bit 25 of multiplexed pci address and data ad[24] 32 i/o bit 24 of multiplexed pci address and data v dd 33 - supply voltage (3.3 v) c/be#[3] 34 i/o byte 3 of multiplexed pci bus command and byte enable idsel 35 i pci initialization device select; used as a chip select during con?guration read and write transactions ad[23] 36 i/o bit 23 of multiplexed pci address and data dgnd 37 - digital ground ad[22] 38 i/o bit 22 of multiplexed pci address and data ad[21] 39 i/o bit 21 of multiplexed pci address and data ad[20] 40 i/o bit 20 of multiplexed pci address and data v dd 41 - supply voltage (3.3 v) ad[19] 42 i/o bit 19 of multiplexed pci address and data ad[18] 43 i/o bit 18 of multiplexed pci address and data ad[17] 44 i/o bit 17 of multiplexed pci address and data dgnd 45 - digital ground ad[16] 46 i/o bit 16 of multiplexed pci address and data c/be#[2] 47 i/o byte 2 of multiplexed pci bus command and byte enable frame# 48 i/o pci cycle frame; driven by the master to indicate the beginning and duration of an access v dd 49 - supply voltage (3.3 v) irdy# 50 i/o pci initiator ready; indicates ability of the initiating agent to complete the current data phase of a transaction trdy# 51 i/o pci target ready; indicates ability of the target agent to complete the current data phase of a transaction devsel# 52 i/o pci device select; indicates if any device has been selected on the bus dgnd 53 - digital ground stop# 54 i/o pci stop; indicates that the current target is requesting the master to stop the current transaction clkrun# 55 i/o pci clkrun signal; push-pull input; three-state output; 5 ns slew rate control; ttl with hysteresis; 5 v tolerant table 2: pin description continued symbol [1] pin type description
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 9 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. perr# 56 i/o pci parity error; used to report data parity errors during all pci transactions except a special cycle v dd 57 - supply voltage (3.3 v) serr# 58 o pci system error; used to report address parity errors, data parity errors on the special cycle command, or any other system error where the result will be catastrophic; push-pull, open-drain; 10 ns slew rate control; cmos; 5 v tolerant par 59 i/o pci parity c/be#[1] 60 i/o byte 1 of multiplexed pci bus command and byte enable dgnd 61 - digital ground ad[15] 62 i/o bit 15 of multiplexed pci address and data ad[14] 63 i/o bit 14 of multiplexed pci address and data ad[13] 64 i/o bit 13 of multiplexed pci address and data v dd 65 - supply voltage (3.3 v) ad[12] 66 i/o bit 12 of multiplexed pci address and data ad[11] 67 i/o bit 11 of multiplexed pci address and data ad[10] 68 i/o bit 10 of multiplexed pci address and data dgnd 69 - digital ground ad[9] 70 i/o bit 9 of multiplexed pci address and data ad[8] 71 i/o bit 8 of multiplexed pci address and data c/be#[0] 72 i/o byte 0 of multiplexed pci bus command and byte enable v dd 73 - supply voltage (3.3 v) ad[7] 74 i/o bit 7 of multiplexed pci address and data ad[6] 75 i/o bit 6 of multiplexed pci address and data dgnd 76 - digital ground ad[5] 77 i/o bit 5 of multiplexed pci address and data ad[4] 78 i/o bit 4 of multiplexed pci address and data ad[3] 79 i/o bit 3 of multiplexed pci address and data v dd 80 - supply voltage (3.3 v) ad[2] 81 i/o bit 2 of multiplexed pci address and data ad[1] 82 i/o bit 1 of multiplexed pci address and data dgnd 83 - digital ground ad[0] 84 i/o bit 0 of multiplexed pci address and data v aux 85 - auxiliary voltage (3.3 v) dgnd 86 - digital ground xtal1 87 i crystal oscillator input; this can also be a 12 or 48 mhz clock input xtal2 88 o crystal oscillator output (12 mhz) oc1 89 i overcurrent sense input for the usb downstream port 1 (digital); push-pull; ttl with hysteresis; 5 v tolerant table 2: pin description continued symbol [1] pin type description
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 10 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. pwe1 90 i/o power enable for the usb downstream port 1 (open-drain). bi-directional pin; push-pull input; three-state output; 10 ns slew rate control; ttl; 5 v tolerant gl1 91 i/o goodlink led indicator output for the usb downstream port 1 (open-drain); the led is off by default, blinks on upon usb traf?c; bi-directional pin; push-pull input; three-state output; 10 ns slew rate control; ttl; 5 v tolerant amb1 92 i/o amber led indicator output for the usb downstream port 1 (open-drain); the led is off by default; the led can be programmed to enable it to blink. bi-directional pin; push-pull input; three-state output; 10 ns slew rate control; ttl; 5 v tolerant av aux 93 - analog auxiliary voltage (3.3 v); supply voltage gnd_rref 94 - reference ground; rref resistor must be connected to this pin grn1 95 i/o green led indicator output for the usb downstream port 1 (open-drain); the led is off by default.the led can be programmed to enable it to blink. bi-directional pin; push-pull input; three-state output; 10 ns slew rate control; ttl; 5 v tolerant oc2 96 i overcurrent sense input for the usb downstream port 2 (digital). push-pull; ttl with hysteresis; 5 v tolerant pwe2 97 i/o power enable for the usb downstream port 2 (open-drain). bi-directional pin; push-pull input; three-state output; 10 ns slew rate control; ttl; 5 v tolerant gl2 98 i/o goodlink led indicator output for the usb downstream port 2 (open-drain); the led is off by default, blinks on upon usb traf?c. bi-directional pin; push-pull input; three-state output; 10 ns slew rate control; ttl; 5 v tolerant amb2 99 i/o amber led indicator output for the usb downstream port 2 (open-drain); the led is off by default; the led can be programmed to enable it to blink. bi-directional pin; push-pull input; three-state output; 10 ns slew rate control; ttl; 5 v tolerant grn2 100 i/o green led indicator output for the usb downstream port 2 (open-drain); the led is off by default; the led can be programmed to enable it to blink. bi-directional pin; push-pull input; three-state output; 10 ns slew rate control; ttl; 5 v tolerant av aux_pll 101 - analog auxiliary voltage (3.3 v); supply voltage for pll dm1 102 ai/o d - ; analog connection for the usb downstream port 1 dp1 103 ai/o d + ; analog connection for the usb downstream port 1 agnd 104 - analog ground oc3 105 i overcurrent sense input for the usb downstream port 3 (digital). push-pull; ttl with hysteresis; 5 v tolerant table 2: pin description continued symbol [1] pin type description
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 11 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. pwe3 106 i/o power enable for the usb downstream port 3 (open-drain). bi-directional pin; push-pull input; three-state output; 10 ns slew rate control; ttl; 5 v tolerant rref 107 ai/o analog connection for the external resistor (12 k w 1%) av aux 108 - analog auxiliary voltage (3.3 v); supply voltage dm2 109 ai/o d - ; analog connection for the usb downstream port 2 dp2 110 ai/o d + ; analog connection for the usb downstream port 2 agnd 111 - analog ground gl3 112 i/o goodlink led indicator output for the usb downstream port 3 (open-drain). the led is off by default, blinks on upon usb traf?c. bi-directional pin; push-pull input; three-state output; 10 ns slew rate control; ttl; 5 v tolerant amb3 113 i/o amber led indicator output for the usb downstream port 3 (open-drain). the led is off by default; the led can be programmed to enable it to blink. bi-directional pin; push-pull input; three-state output; 10 ns slew rate control; ttl; 5 v tolerant grn3 114 i/o green led indicator output for the usb downstream port 3 (open-drain); the led is off by default; the led can be programmed to enable it to blink. bi-directional pin; push-pull input; three-state output; 10 ns slew rate control; ttl; 5 v tolerant av aux 115 - analog auxiliary voltage (3.3 v); supply voltage dm3 116 ai/o d - ; analog connection for the usb downstream port 3 dp3 117 ai/o d + ; analog connection for the usb downstream port 3 agnd 118 - analog ground oc4 119 i overcurrent sense input for the usb downstream port 4 (digital) push-pull; ttl with hysteresis; 5 v tolerant pwe4 120 i/o power enable for the usb downstream port 4 (open-drain). bi-directional pin; push-pull input; three-state output; 10 ns slew rate control; ttl; 5 v tolerant av aux 121 - analog auxiliary voltage (3.3 v); supply voltage dm4 122 ai/o d - ; analog connection for the usb downstream port 4 dp4 123 ai/o d + ; analog connection for the usb downstream port 4 agnd 124 - analog ground gl4 125 i/o goodlink led indicator output for the usb downstream port 4 (open-drain). the led is off by default, blinks on upon usb traf?c. bi-directional pin; push-pull input; three-state output; 10 ns slew rate control; ttl; 5 v tolerant table 2: pin description continued symbol [1] pin type description
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 12 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. [1] symbol names ending with a # (for example, name#) represent active low signals for pci pins. symbol names with an overscore (for example, name) represent active low signals for usb pins. [2] the pull-up resistor should be always present even if i 2 c eeprom is not used. [3] if legacy support is not used, connect this pin to ground. amb4 126 i/o amber led indicator output for the usb downstream port 4 (open-drain); this pin acts as an input only during the power-up sequence and thereafter, acts as an output. bi-directional pin; push-pull input; three-state output; 10 ns slew rate control; ttl; 5 v tolerant 1 ff in pmc register; supports d3 cold 0 ef in pmc register; does not support d3 cold grn4 127 i/o green led indicator output for the usb downstream port 4 (open-drain) the led is off by default; the led can be programmed to enable it to blink. bi-directional pin; push-pull input; three-state output; 10 ns slew rate control; ttl; 5 v tolerant dgnd 128 - digital ground table 2: pin description continued symbol [1] pin type description
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 13 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 7. functional description 7.1 ohci host controller an ohci host controller transfers data to devices at the original usb de?ned bit rate of 12 mbit/s or 1.5 mbit/s. 7.2 ehci host controller the ehci host controller transfers data to a hi-speed usb compliant device at the hi-speed usb de?ned bit rate of 480 mbit/s. when the ehci host controller has the ownership of a port, the ohci host controllers are not allowed to modify the port register. all additional port bit de?nitions required for the enhanced host controller are not visible to the ohci host controller. 7.3 dynamic port-routing logic the port-routing feature allows sharing of the same physical downstream ports between the original usb host controller and the hi-speed usb host controller. this requirement of the enhanced host controller interface speci?cation provides four downstream ports, and these ports are multiplexed with the ports of the two ohcis. the ?rst and the third downstream ports are always connected to the ?rst ohci, and the second and the fourth downstream ports are always connected to the second ohci. the ehci is responsible for the port-routing switching mechanism. two register bits are used for ownership switching. during power-on and system reset, the default ownership of all downstream ports is the ohcis. the enhanced host controller driver controls the ownership during normal functionality. 7.4 hi-speed usb analog transceivers the hi-speed usb analog transceivers interface directly to the usb cables via integrated termination resistors. these transceivers can transmit and receive serial data at all data rates : high-speed (480 mbit/s), full-speed (12 mbit/s) and low-speed (1.5 mbit/s). 7.5 led indicators for downstream ports indication of a good usb connection is provided through the goodlink technology (open-drain, a maximum current of 20 ma). during enumeration, led indicators blink on momentarily corresponding to the enumeration traf?c of the isp1561 downstream ports. the led also blinks on whenever there is valid traf?c to the downstream port. in the suspend mode, the led is off. the goodlink feature provides a user-friendly indication on the status of the usb traf?c between the host and downstream hubs and devices. it is a useful diagnostics tool to isolate faulty equipment and helps to reduce ?eld support and hotline costs. the system designer can also program two optional port indicators a green led and an amber ledto indicate the status of the host controller. these port indicators are implemented as per the usb speci?cation.
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 14 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. all led indicators are open-drain output. 7.6 power management the isp1561 provides an advanced power management capabilities interface that is compliant with pci bus power management interface speci?cation, rev. 1.1 . power is controlled and managed by the interaction between drivers and pci registers. see section 10 for a detailed description on power management. 7.7 legacy support the isp1561 provides legacy support for a usb keyboard and mouse. this means that the keyboard and mouse should be able to work even before the os boot-up, with the necessary support in the systems bios. section 11.2 provides detailed description on legacy support in the isp1561. 7.8 phase-locked loop (pll) a 12 to 30 mhz and 48 mhz clock multiplier pll is integrated on-chip. this allows the use of a low-cost 12 mhz crystal, which also minimizes emi. no external components are required for the pll to operate. 8. pci 8.1 pci interface the pci interface has three functions. the ?rst function (#0) and the second function (#1) are for the ohci host controllers, and the third function (#2) is for the ehci host controller. all functions supports both master and target accesses and share the same pci interrupt signal inta#. these functions provide memory-mapped, addressable operational registers as required in open host controller interface speci?cations rev. 1.0a and enhanced host controller speci?cation for universal serial bus rev. 0.95 . additionally, function #0 provides legacy keyboard and mouse support to comply with open host controller interface speci?cation rev. 1.0a . each function has its own con?guration space, and the pci enumerator should allocate the memory address space for each of these functions. power management is implemented in each pci function and all power states are provided. this allows the system to achieve low power consumption by switching off the functions which are not required. 8.1.1 pci con?guration space pci local bus speci?cation rev. 2.2 requires that each of the three pci functions of the isp1561 provides its own pci con?guration registers, which can vary in size. in addition to the basic pci con?guration header registers, these functions implement the capability registers to support power management. the registers of each of these functions are accessed by the respective driver. the detailed description of the various pci con?guration registers is given in section 8.2 .
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 15 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 8.1.2 pci initiator/target a pci initiator initiates pci transactions to the pci bus; a pci target responds to pci transactions as a slave. in the case of the isp1561, the two open host controllers and the enhanced host controller function as both initiators or the targets of pci transactions issued by the host cpu. all usb host controllers have their own operational registers, which can be accessed by the system driver software. drivers use these registers to con?gure the host controller hardware system, issue commands to it and/or monitor the status of the current hardware operation. the host controller plays the role of a pci target. all operational registers of the host controllers are pci transaction targets of the cpu. normal usb transfers require the host controller to access system memory ?elds, which are allocated by usb host controller drivers (hcds) and pci drivers. the host controller hardware interacts with the hcd by accessing these buffers. the host controller works as an initiator in this case, and becomes a pci master. 8.2 pci con?guration registers the ohci usb host controllers and ehci usb host controller contain two sets of software-accessible hardware registers : pci con?guration registers and memory-mapped host controller registers. a set of the con?guration registers are implemented for each of the three pci functions of the isp1561, see ta b l e 3 . remark: in addition to the normal pci header (from offset index 00h to 3fh), implementation-speci?c registers are de?ned to support power management and function-speci?c features. table 3: pci con?guration space registers of ohci1, ohci2 and ehci [1] address (hex) bits 31 to 22 bits 23 to 16 bits 15 to 8 bits 7 to 0 reset hex value func0 ohci1 func1 ohci2 func2 ehci 00 did[15:0] vid[15:0] 1561 1131 1561 1131 1562 1131 04 status[15:0] command[15:0] 0210 0000 0210 0000 0210 0000 08 class code[23:0] revid[7:0] 0c0310 30 0c0310 30 0c0320 30 0c bist[7:0] header type[7:0] lt[7:0] cls[7:0] 00 80 00 00 00 80 00 00 00 80 00 00 10 bar 0[31:0] 00000 000 00000 000 000000 00 14 base address register 1, 2, 3, 4, 5 (not con?gurable to prevent setting by the driver) 00000000 00000000 00000000 18 1c 20 24 28 cardbus cis pointer[31:0] 00000000 00000000 00000000 2c sid[15:0] svid[15:0] 1561 1131 1561 1131 1562 1131 30 expansion rom base address[31:0] 00000000 00000000 00000000 34 reserved cp[7:0] 000000 dc 000000 dc 000000 dc 38 reserved 00000000 00000000 00000000
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 16 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. [1] reset hex values that are highlighted (for example, 0 ) indicate read/write access, and reset hex values that are not highlighted (for example, 0) indicate read-only. [2] xx is 1fh for four ports or 07h for two ports. the host controller driver (hcd) does not usually interact with the pci con?guration space. the con?guration space is used only by the pci enumerator to identify the usb host controller and assign the appropriate system resources by reading the vendor id (vid) and the device id (did). 8.2.1 pci con?guration header registers the enhanced host controller implements the normal pci header register values, except the values for the memory-mapping base address register, serial bus number and device id. vendor id register (address: 00h): this read-only register identi?es the manufacturer of the device. pci special interest group (pci-sig) assigns valid vendor identi?ers to ensure the uniqueness of the identi?er. the bit description is shown in ta b l e 4 . device id register (address: 02h): device id is a two-byte read-only register that identi?es a particular device. this identi?er is allocated by philips semiconductors. ta b l e 5 shows the bit description of the register. [1] x is 1h for ohci1 and ohci2 and x is 2h for ehci. 3c max_lat[7:0] min_gnt[7:0] interrupt pin[7:0] il[7:0] 2a 01 01 00 2a 01 01 00 10 02 01 00 40 reserved retry time-out trdy time-out 0000 80 00 0000 80 00 0000 80 00 enhanced host controller-speci?c pci registers 60 portwakecap[15:0] fladj[7:0] sbrn[7:0] - - xx1f 20 20 [2] power management registers dc pmc[15:0] next_item_ptr [7:0] cap_id[7:0] 5202 00 01 5202 00 01 ff02 00 01 e0 data[7:0] pmcsr_bse [7:0] pmcsr[15:0] 00 00 0000 00 00 0000 00 00 xx00 [2] table 3: pci con?guration space registers of ohci1, ohci2 and ehci [1] continued address (hex) bits 31 to 22 bits 23 to 16 bits 15 to 8 bits 7 to 0 reset hex value func0 ohci1 func1 ohci2 func2 ehci table 4: vendor id register: bit description bit symbol access value description 15 to 0 vid[15:0] r 1131h vendor id : this read-only register value is assigned to philips semiconductors by pci-sig as 1131h. table 5: device id register: bit description bit symbol access value description 15 to 0 did[15:0] r 156xh [1] device id : this register value is de?ned by philips semiconductors to identify the usb host controller ic product.
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 17 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. command register (address: 04h): this is a two-byte register that provides coarse control over the ability of a device to generate and respond to pci cycles. the bit allocation of the command register is given in ta b l e 6 . when logic 0 is written to this register, the device is logically disconnected from the pci bus for all accesses except con?guration accesses. all devices are required to support this base level of functionality. individual bits in the command register may or may not support this base level of functionality. table 6: command register: bit allocation bit 15 14 13 12 11 10 9 8 symbol reserved fbbe serre reset 00000000 access ------r/wr/w bit 7 6 5 4 3 2 1 0 symbol sctrl per vgaps mwie sc bm ms ios reset 00000000 access r r/w r r/w r r/w r/w r/w table 7: command register: bit description bit symbol description 15 to 10 - reserved 9 fbbe fast back-to-back enable: this bit controls whether or not a master can do fast back-to-back transactions to different devices. the initialization software needs to set this bit if all targets are fast back-to-back capable. 0 fast back-to-back transactions are only allowed to the same agent (value after rst#) 1 the master is allowed to generate fast back-to-back transactions to different agents 8 serre serr# enable : this bit is an enable bit for the serr# driver. all devices that have an serr# pin must implement this bit. address parity errors are reported only if this bit and the per bit are logic 1. 0 disable the serr# driver 1 enable the serr# driver 7 sctrl stepping control : this bit is used to control whether or not a device does address and data stepping. devices that never do stepping must clear this bit. devices that always do stepping must set this bit. devices that can do either, must make this bit read/write and have it initialize to logic 1 after rst#. 6 per parity error response : this bit controls the response of a device to parity errors. when the bit is set, the device must take its normal action when a parity error is detected. when the bit is logic 0, the device sets its detected parity error status bit (bit 15 in the status register) when an error is detected, but does not assert perr# and continues normal operation. the state of this bit after rst# is logic 0. devices that check parity must implement this bit. devices are required to generate parity even if parity checking is disabled.
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 18 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. status register (address: 06h): the status register is a two-byte read-only register used to record status information on pci bus-related events (bit allocation: see ta b l e 8 ). 5 vgaps vga palette snoop : this bit controls how vga compatible and graphics devices handle accesses to vga palette registers. when this bit is logic 1, palette snooping is enabled (that is, the device does not respond to palette register writes and snoops the data). when the bit is logic 0, the device should treat palette write accesses like all other accesses. vga compatible devices should implement this bit. 4 mwie memory write and invalidate enable : this is an enable bit for using the memory write and invalidate command. when this bit is logic 1, masters may generate the command. when it is logic 0, memory writes must be used instead. state after rst# is logic 0. this bit must be implemented by master devices that can generate the memory write and invalidate command. 3sc special cycles : controls the action of a device on special cycle operations. a value of logic 0 causes the device to ignore all special cycle operations. a value of logic 1 allows the device to monitor special cycle operations. state after rst# is logic 0. 2bm bus master : controls the ability of a device to act as a master on the pci bus. a value of logic 0 disables the device from generating pci accesses. a value of logic 1 allows the device to behave as a bus master. state after rst# is logic 0. 1ms memory space : controls the response of a device to memory space accesses. a value of logic 0 disables the device response. a value of logic 1 allows the device to respond to memory space accesses. state after rst# is logic 0. 0 ios io space : controls the response of a device to i/o space accesses. a value of logic 0 disables the device response. a value of logic 1 allows the device to respond to i/o space accesses. state after rst# is logic 0. table 7: command register: bit description continued bit symbol description table 8: status register: bit allocation bit 15 14 13 12 11 10 9 8 symbol dpe sse rma rta sta devselt[1:0] mdpe reset 00000010 access rrrrrrrr bit 7 6 5 4 3 2 1 0 symbol fbbc reserved 66mc cl reserved reset 00010000 access r-rr----
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 19 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. table 9: status register: bit description bit symbol description 15 dpe detected parity error : this bit must be set by the device whenever it detects a parity error, even if the parity error handling is disabled. 14 sse signaled system error : this bit must be set whenever the device asserts serr#. devices that never assert serr# do not need to implement this bit. 13 rma received master abort : this bit must be set by a master device whenever its transaction (except for special cycle) is terminated with master-abort. all master devices must implement this bit. 12 rta received target abort : this bit must be set by a master device whenever its transaction is terminated with target-abort. all master devices must implement this bit. 11 sta signaled target abort : this bit must be set by a target device whenever it terminates a transaction with target-abort. devices that never signal target-abort do not need to implement this bit. 10 to 9 devselt[1:0] devsel timing : these bits encode the timing of devsel#. there are three allowable timings for assertion of devsel#: 00b for fast 01b for medium 10b for slow 11b is reserved these bits are read-only and must indicate the slowest time that a device asserts devsel# for any bus command except con?guration read and con?guration write. 8 mdpe master data parity error: this bit is implemented by bus masters. it is set when the following three conditions are met: ? the bus agent asserted perr# itself (on a read) or observed perr# asserted (on a write). ? the agent setting the bit acted as the bus master for the operation in which error occurred. ? the parity error response bit (in the command register) is set. 7 fbbc fast back-to-back capable : this read-only bit indicates whether or not the target is capable of accepting fast back-to-back transactions when the transactions are not to the same agent. this bit can be set to logic 1 if the device can accept these transactions and must be set to logic 0 otherwise. 6 - reserved
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 20 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. revision id register (address: 08h): this one-byte read-only register indicates a device speci?c revision identi?er. the value is chosen by the vendor. this ?eld is a vendor de?ned extension of the device id. the revision id register bit description is given in ta b l e 1 0 . class code register (address: 09h): class code is a 24-bit read-only register used to identify the generic function of the device, and in some cases, a speci?c register-level programming interface. ta b l e 1 1 shows the bit allocation of the register. the class code register is divided into three byte-size ?elds. the upper byte is a base class code that broadly classi?es the type of function the device performs. the middle byte is a sub-class code that identi?es more speci?cally the function of the device. the lower byte identi?es a speci?c register-level programming interface, if any, so that device independent software can interact with the device. [1] x is 1h for ohci1 and ohci2; x is 2h for ehci. 5 66mc 66 mhz capable : this read-only bit indicates whether or not this device is capable of running at 66 mhz. a value of logic 0 indicates 33 mhz, and a value of logic 1 indicates 66 mhz. 4cl capabilities list : this read-only bit indicates whether or not this device implements the pointer for a new capabilities linked list at offset 34h. a value of logic 0 indicates that no new capabilities linked list is available. a value of logic 1 indicates that the value read at offset 34h is a pointer in con?guration space to a linked list of new capabilities. 3 to 0 - reserved table 9: status register: bit description continued bit symbol description table 10: revision id register: bit description bit symbol access value description 7 to 0 revid[7:0] r 30h revision id : this byte speci?es the design revision number of functions. table 11: class code register: bit allocation bit 23 22 21 20 19 18 17 16 symbol bcc[7:0] reset 0ch access r bit 15 14 13 12 11 10 9 8 symbol scc[7:0] reset 03h access r bit 7 6 5 4 3 2 1 0 symbol rlpi[7:0] reset x0h [1] access r
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 21 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. cacheline size register (address: 0ch): the cacheline size register is a read/write single byte register that speci?es the system cacheline size in units of dwords. this register must be implemented by master devices that can generate the memory write and invalidate command. the value in this register is also used by master devices to determine whether to use read, read line, or read multiple commands for accessing memory. slave devices that want to allow memory bursting using a cacheline-wrap addressing mode must implement this register to know when a burst sequence wraps to the beginning of the cacheline. this ?eld must be initialized to logic 0 on activation of rst#. ta b l e 1 3 shows the bit description of the cacheline size register. latency timer register (address: 0dh): this one-byte register speci?es, in units of pci bus clocks, the value of the latency timer for the pci bus master. the latency time register bit description is given in ta b l e 1 4 . this register must be implemented as writable by any master that can burst more than two data phases. this register may be implemented as read-only for devices that burst two or fewer data phases, but the ?xed value must be limited to 16 or less. the register must be initialized to logic 0 at rst#, if programmable. header type register (address: 0eh): the header type register identi?es the layout of the second part of the prede?ned header (beginning at byte 10h in con?guration space). it also identi?es whether or not the device contains multiple functions (bit allocation: see ta b l e 1 5 ). table 12: class code register: bit description bit symbol description 23 to 16 bcc[7:0] base class code : 0ch is the base class code assigned to this byte, and it implies a serial bus controller. 15 to 8 scc[7:0] sub-class code : 03h is the sub-class code assigned to this byte, and it implies the usb host controller. 7 to 0 rlpi[7:0] register-level programming interface : 10h is the programming interface code assigned to ohci, which is usb 1.1 speci?cation compliant. 20h is the programming interface code assigned to ehci, which is usb 2.0 speci?cation compliant. table 13: cacheline size register: bit description bit symbol access value description 7 to 0 cls[7:0] r/w 00h cacheline size : this byte identi?es the system cacheline size. table 14: latency timer register: bit description bit symbol access value description 7 to 0 lt[7:0] r/w 00h latency timer : this byte identi?es the latency timer. table 15: header type register: bit allocation bit 7 6 5 4 3 2 1 0 symbol mfd ht[6:0] reset 10000000 access rrrrrrrr
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 22 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. bist register (address: 0fh): this register is used for control and status of built in self test (bist). devices that do not support bist must always return a value of logic 0 (that is, treat it as a reserved register). a device whose bist is invoked must not prevent normal operation of the pci bus. the bist register is not used in the isp1561. therefore, the logic value returned is always zero. base address registers: power-up software needs to build a consistent address map before booting the machine to an operating system. this means it has to determine how much memory is in the system, and how much address space the i/o controllers in the system require. after determining this information, power-up software can map the i/o controllers into reasonable locations and proceed with system boot. to do this mapping in a device independent manner, the base registers for this mapping are placed in the prede?ned header portion of con?guration space. the bit 0 in all base address registers is read-only and used to determine whether the register maps into memory or i/o space. base address registers that map to memory space must return logic 0 in bit 0. base address registers that map to i/o space must return logic 1 in bit 0. the bit description of the bar 0 register is given in ta b l e 1 7 . base address register 0 (bar 0) (address: 10h) base address register 1, 2, 3, 4, 5 (bar 1, 2, 3, 4, 5) (address: 14h, 18h, 1ch, 20h and 24h): the bar 1, 2, 3, 4, 5 register spaces are not used in the isp1561. cardbus cis pointer register (address: 28h): this four-byte register is used by devices that want to share silicon between cardbus and pci. the cardbus cis pointer register is used to point to the card information structure (cis) for the cardbus card. this register is not implemented in the isp1561. subsystem vendor id register (address: 2ch): the subsystem vendor id register is used to uniquely identify the expansion board or subsystem where the pci device resides. this register allows expansion board vendors to further distinguish their boards, even though the boards may have the same vendor id and device id. subsystem vendor ids are assigned by pci-sig to maintain uniqueness. the bit description of the subsystem vendor id register is given in ta b l e 1 8 . table 16: header type register: bit description bit symbol description 7 mfd multi-function device : this bit identi?es a multi-function device. if the bit is logic 0, then the device is a single function. if the bit is logic 1, then the device has multiple functions. 6 to 0 ht[6:0] header type : these bits identify the layout of the part of the prede?ned header beginning at byte 10h in con?guration space. table 17: bar 0 register: bit description bit symbol access value description 31 to 0 bar 0[31:0] r/w 0000 0000h base address to memory-mapped host controller register space : the memory size required by ohci and ehci are 4 k and 256 bytes, respectively. therefore, bar 0[31:12] is assigned to the two ohci ports, and bar 0[31:8] is assigned to the ehci port.
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 23 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. subsystem id register (address: 2eh): subsystem id values are vendor speci?c. the bit description of the subsystem id register is given in ta b l e 1 9 . [1] x is 1h for ohci1 and ohci2; x is 2h for ehci. expansion rom base address register (address: 30h): some pci devices, especially those intended for use on expansion boards in the pc architecture, require local eproms for expansion rom. this four-byte register at offset 30h in a type 00h prede?ned header is de?ned to handle the base address and size information for this expansion rom. the isp1561 does not support expansion eprom. capabilities pointer register (address: 34h): the capabilities pointer register is used to point to a linked list of new capabilities implemented by the device. this register is only valid if the cl bit in the status register is set. if implemented, bit 1 and bit 0 are reserved and should be set to 00b. software should mask these bits off before using this register as a pointer in con?guration space to the ?rst entry of a linked list of new capabilities. the bit description of the register is given in ta b l e 2 0 . interrupt line register (address: 3ch): the interrupt line register is a one-byte read/write register used to communicate interrupt line routing information. this register must be implemented by any device (or device function) that uses an interrupt pin. the interrupt allocation is done by the bios. the post software needs to write the routing information into this register as it initializes and con?gures the system. the bit description of the interrupt line register is given in ta b l e 2 1 . the value in this register tells which input of the system interrupt controller(s) the interrupt pin of the device is connected to. the device itself does not use this value, rather it is used by device drivers and operating systems. device drivers and operating systems can use this information to determine priority and vector information. values in this register are system architecture speci?c. table 18: subsystem vendor id register: bit description bit symbol access value description 15 to 0 svid[15:0] r 1131h subsystem vendor id : 1131h is the subsystem vendor id assigned to philips semiconductors. table 19: subsystem id register: bit description bit symbol access value description 15 to 0 sid[15:0] r 156xh [1] subsystem id : for the isp1561, philips semiconductors has de?ned ohci functions as 1561h, and the ehci function as 1562h. table 20: capabilities pointer register: bit description bit symbol access value description 7 to 0 cp[7:0] r dch capabilities pointer : ehci manages power ef?ciently using this register. this power management register is allocated at offset dch. only one host controller is needed to manage power in the isp1561. table 21: interrupt line register: bit description bit symbol access value description 7 to 0 il[7:0] r/w 00h interrupt line : indicates which irq is used for reporting interrupt from the isp1561.
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 24 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. interrupt pin register (address: 3dh): this one-byte register is use to specify which interrupt pin the device (or device function) uses. the bit description is given in ta b l e 2 2 . a value of 1h corresponds to inta#. a value of 2h corresponds to intb#. a value of 3h corresponds to intc#. a value of 4h corresponds to intd#. devices or functions that do not use an interrupt pin must put a logic 0 in this register. minimum grant and maximum latency registers (address: 3eh and 3fh): the min_gnt and max_lat registers are used to specify the desired settings of the device for latency timer values. for both registers, the value speci?es a period of time in units of 250 ns. values of 0 indicates that the device has no major requirements for the settings of latency timers.the min_gnt register bit description is given in ta b l e 2 3 . [1] x is 1h for ohci1 and ohci2; x is 2h for ehci. the max_lat register bit description is given in ta b l e 2 4 . [1] xx is 2ah for ohci1 and ohci2; xx is 10h for ehci. 8.2.2 enhanced host controller-speci?c pci registers in addition to the pci con?guration header registers, ehci needs some additional pci con?guration space registers to indicate the serial bus release number, downstream port wake-up event capability and adjust the usb bus frame length for start-of-frame (sof). the ehci-speci?c pci registers are given in ta b l e 2 5 . sbrn register (address: 60h): the sbrn register is a one-byte register, and the bit description is given in ta b l e 2 6 . this register contains the release number of the usb speci?cation with which this usb host controller module is complaint. table 22: interrupt pin register: bit description bit symbol access value description 7 to 0 ip[7:0] r/w 01h interrupt pin : inta# is the default interrupt pin used by the isp1561. table 23: min_gnt register: bit description bit symbol access value description 7 to 0 min_gnt[7:0] r/w 0xh [1] min_gnt : it is used to specify how long a burst period the device needs assuming a clock rate of 33 mhz. table 24: max_lat register: but description bit symbol access value description 7 to 0 max_lat[7:0] r/w xxh [1] max_lat : it is used to specify how often the device needs to gain access to the pci bus. table 25: ehci-speci?c pci registers offset register 60h serial bus release number (sbrn) 61h frame length adjustment (fladj) 62-63h port wake capability (portwakecap)
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 25 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. fladj register (address: 61h): this feature is used to adjust any offset from the clock source that generates the clock that drives the sof counter. when a new value is written to these six bits, the length of the frame is adjusted. the bit allocation of the register is given in ta b l e 2 7 . portwakecap register (address: 62h): the portwakecap register is a two-byte register, and the bit description is given in ta b l e 2 9 . this register is used to establish a policy about which ports are to be used for wake events. bit positions 1 to 15 in the mask correspond to a physical port implemented on the current ehci controller. a logic 1 in a bit position indicates that a device connected below the port can be enabled as a wake-up device and the port may be enabled for disconnect/connect or overcurrent events as wake-up events. this is an information only mask register. the bits in this register do not affect the actual operation of the table 26: sbrn register: bit description bit symbol access value description 7 to 0 sbrn[7:0] r 20h serial bus speci?cation release numbe r: this register value is to identify serial bus speci?cation release 2.0. all other combinations are reserved. table 27: fladj register: bit allocation bit 7 6 5 4 3 2 1 0 symbol reserved fladj[5:0] reset 00100000 access - - r/w r/w r/w r/w r/w r/w table 28: fladj register: bit description bit symbol description 7 to 6 - reserved 5 to 0 fladj[5:0] frame length timing value : each decimal value change to this register corresponds to 16 high-speed bit times. the sof cycle time (number of sof counter clock periods to generate a sof microframe length) is equal to 59488 + value in this ?eld. the default value is decimal 32 (20h), which gives a sof cycle time of 60000. fladj value sof cycle time (480 mhz) 0 (00h) 59488 1 (01h) 59504 2 (02h) 59520 :: 31(1fh) 59984 32 (20h) 60000 :: 62 (3eh) 60480 63 (3fh) 60496
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 26 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. ehci host controller. the system-speci?c policy can be established by bios initializing this register to a system-speci?c value. system software uses the information in this register when enabling devices and ports for remote wake-up. 8.2.3 power management registers cap_id register (address: value read from address 34h + 0h): the capability identi?er (cap_id) register, when read by the system software as 01h indicates that the data structure currently being pointed to is the pci power management data structure. each function of a pci device may have only one item in its capability list with cap_id set to 01h. the bit description o the register is given in ta b l e 3 1 . next_item_ptr register (address: value read from address 34h + 1h): the next item pointer (next_item_ptr) register (see ta b l e 3 2 ) describes the location of the next item in the functions capability list. the value given is an offset into the functions pci con?guration space. if the function does not implement any other capabilities de?ned by the pci-sig for inclusion in the capabilities list, or if power management is the last item in the list, then this register must be set to 00h. pmc register (address: value read from address 34h + 2h): the power management capabilities (pmc) register is a two-byte register, and the bit allocation is given in ta b l e 3 3 . this read-only register provides information on the capabilities of the function related to power management. table 29: portwakecap register: bit description bit symbol access value description 15 to 0 portwakecap[15:0] r/w 001fh port wake up capability mask : ehci does not implement this feature. table 30: power management registers offset register value read from address 34h + 0h capability identi?er (cap_id) value read from address 34h + 1h next item pointer (next_item_ptr) value read from address 34h + 2h power management capabilities (pmc) value read from address 34h + 4h power management control/status (pmcsr) value read from address 34h + 6h power management control/status (pmcsr_bse) value read from address 34h + 7h data table 31: cap_id register: bit description bit symbol access value description 7 to 0 cap_id[7:0] r 01h id : this ?eld when 01h identi?es the linked list item as being the pci power management registers. table 32: next_item_ptr register: bit description bit symbol access value description 7 to 0 next_item_ptr[7:0] r 00h next item pointer : this ?eld provides an offset into the functions pci con?guration space pointing to the location of the next item in the functions capability list. if there are no additional items in the capabilities list, this register is set to 00h.
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 27 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. [1] x is 0 for ohci1, ohci2 and ehci s1; x is 1 for ehci s3. [2] x is 0 for ohci1 and ohci2; x is 1 for ehci. table 33: pmc register: bit allocation bit 15 14 13 12 11 10 9 8 symbol pme_s[4:0] d2_s d1_s aux_c[2:0] reset x [1] 1x [2] 1x [2] x [2] 1x [2] access rrrrrrrr bit 7 6 5 4 3 2 1 0 symbol aux_c[2:0] dsi reserved pmi ver[2:0] reset 00000010 access rrr - rrrr table 34: pmc register: bit description bit symbol description 15 to 11 pme_s[4:0] pme_support : this 5-bit ?eld indicates the power states in which the function may assert pme#. a value of 0 for any bit indicates that the function is not capable of asserting the pme# signal while in that power state. pme_s[0] pme# can be asserted from d0 pme_s[1] pme# can be asserted from d1 pme_s[2] pme# can be asserted from d2 pme_s[3] pme# can be asserted from d3 hot pme_s[4] pme# can be asserted from d3 cold 10 d2_s d2_support : if this bit is logic 1, this function supports the d2 power management state. functions that do not support d2 must always return a value of logic 0 for this bit. 9 d1_s d1_support : if this bit is logic 1, this function supports the d1 power management state. functions that do not support d1 must always return a value of logic 0 for this bit.
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 28 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. the logic level of the amb4 pin at power-on determines the default value of the pmc registers. if this pin is connected to v dd as a pull-up, then the isp1561 supports d3 cold (in the case of notebook design). if this pin is left open or is pulled down, then the isp1561 does not support d3 cold (in the case of pci add-on card design). 8 to 6 aux_c[2:0] aux_current : this three-bit ?eld reports the v aux auxiliary current requirements for the pci function. if the data register has been implemented by this function: ? a read from this ?eld needs to return a value of 000b. ? the data register takes precedence over this ?eld for v aux current requirement reporting. if the pme# generation from d3 cold is not supported by the function (pmc(15) = 0), this ?eld must return a value of 000b when read. for functions that support pme# from d3 cold and do not implement the data register, the bit assignments correspond to the maximum current required for v aux are: 111 375 ma 110 320 ma 101 270 ma 100 220 ma 011 160 ma 010 100 ma 001 55 ma 000 0 (self powered) 5 dsi device speci?c initialization : this bit indicates whether special initialization of this function is required, beyond the standard pci con?guration header, before the generic class device driver is able to use it. remark: this bit is not used by some operating systems. for example, microsoft windows and windows nt ? do not use this bit to determine whether to use d3. instead, they use capabilities of the driver to determine this. logic 1 indicates that the function requires a device speci?c initialization sequence following transition to d0 un-initialized state. 4 - reserved 3 pmi pme clock : when this bit is logic 1, it indicates that the function relies on the presence of the pci clock for the pme# operation. when this bit is logic 0, it indicates that no pci clock is required for the function to generate pme#. functions that do not support the pme# generation in any state must return logic 0 for this ?eld. 2 to 0 ver[2:0] version : a value of 010b indicates that this function complies with pci power management interface speci?cation rev. 1.1 . table 34: pmc register: bit description continued bit symbol description
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 29 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. pmcsr register (address: value read from address 34h + 4h): the power management control/status (pmcsr) register is a two-byte register used to manage the power management state of the pci function as well as to enable and monitor power management events (pmes). the bit allocation of the register is given in ta b l e 3 5 . [1] sticky bit, if the function supports pme# from d3 cold then x is indeterminate at the time of initial operating system boot; x is 0 if the function does not support pme# from d3 cold. table 35: pmcsr register: bit allocation bit 15 14 13 12 11 10 9 8 symbol pmes ds[1:0] d_s[3:0] pmee reset x [1] 000000x [1] access r/w r r r/w r/w r/w r/w r/w bit 7 6 5 4 3 2 1 0 symbol reserved ps[1:0] reset 00000000 access ------r/wr/w table 36: pmcsr register: bit description bit symbol description 15 pmes pme status : this bit is set when the function would normally assert the pme# signal independent of the state of the pme_en bit. writing logic 1 to this bit clears it and causes the function to stop asserting pme# (if enabled). writing logic 0 has no effect. this bit defaults to logic 0 if the function does not support the pme# generation from d3 cold . if the function supports the pme# generation from d3 cold , then this bit is sticky and must be explicitly cleared by the operating system each time the operating system is initially loaded. 14 to 13 ds[1:0] data scale : this two-bit read-only ?eld indicates the scaling factor to be used when interpreting the value of the data register. the value and meaning of this ?eld vary depending on which data value has been selected by the d_s ?eld. this ?eld is a required component of the data register (offset 7) and must be implemented if the data register is implemented. if the data register has not been implemented, this ?eld must return 00b when pmcsr is read. 12 to 9 d_s[3:0] data_select : this four-bit ?eld is used to select which data is to be reported through the data register and the d_s ?eld. this ?eld is a required component of the data register (offset 7) and must be implemented if the data register is implemented. if the data register has not been implemented, this ?eld must return 00b when pmcsr is read.
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 30 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. pmcsr_bse register (address: value read from address 34h + 6h): the pmcsr pci-to-pci bridge support extensions (pmcsr_bse) register supports pci bridge speci?c functionality and is required for all pci-to-pci bridges. the bit allocation of this register is given in ta b l e 3 7 . [1] internally hardwired. 8 pmee pme enabled : logic 1 enables the function to assert pme#. when it is logic 0, pme# assertion is disabled. this bit defaults to logic 0 if the function does not support the pme# generation from d3 cold . if the function supports pme# from d3 cold , then this bit is sticky and must be explicitly cleared by the operating system each time the operating system is initially loaded. functions that do not support the pme# generation from any d-state (that is, pmc[15:11] = 00000b), may hardwire this bit to be read-only always returning logic 0 when read by system software. 7 to 2 - reserved 1 to 0 ps[1:0] power state : this two-bit ?eld is used to determine the current power state of the ehci function and to set the function into a new power state. the de?nition of the ?eld values is given as: 00b for d0 01b for d1 10b for d2 11b for d3 hot if the software attempts to write an unsupported, optional state to this ?eld, the write operation must complete normally on the bus; however, the data is discarded and no status change occurs. table 36: pmcsr register: bit description continued bit symbol description table 37: pmcsr_bse register: bit allocation bit 7 6 5 4 3 2 1 0 symbol bpcc_en b2_b3# reserved reset rrrrrrrr access 0 [1] 0 [1] 000000
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 31 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. data register (address: value read from address 34h + 7h): the data register is an optional, 1-byte register that provides a mechanism for the function to report state dependent operating data, such as power consumed or heat dissipation. ta b l e 4 0 shows the bit description of the register. table 38: pmcsr_bse register: bit description bit symbol description 7 bpcc_en bus power/clock control enable 1 indicates that the bus power/clock control mechanism as de?ned in ta b l e 3 9 is enabled. 0 indicates that the bus/power control policies as de?ned in ta b l e 3 9 have been disabled. when the bus power/clock control mechanism is disabled, the bridges pmcsr ps (power state) ?eld cannot be used by the system software to control the power or clock of the bridges secondary bus. 6 b2_b3# b2/b3 support for d3 hot : the state of this bit determines the action that is to occur as a direct result of programming the function to d3 hot . 1 indicates that when the bridge function is programmed to d3 hot , its secondary buss pci clock will be stopped (b2). 0 indicates that when the bridge function is programmed to d3 hot , its secondary bus will have its power removed (b3). this bit is only meaningful if bit 7 (bpcc_en) is logic 1. 5 to 0 - reserved table 39: pci bus power and clock control originating devices bridge pm state secondary bus pm state resultant actions by bridge (either direct or indirect) d0 b0 none d1 b1 none d2 b2 clock stopped on secondary bus d3 hot b2, b3 clock stopped and v cc removed from secondary bus (b3 only). for de?nition of b2_b3#, see ta b l e 3 8 . d3 cold b3 none table 40: data register: bit description bit symbol access value description 7 to 0 data[7:0] r 00h data : this register is used to report the state dependent data requested by the d_s (data_select) ?eld. the value of this register is scaled by the value reported by the ds (data_scale) ?eld.
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 32 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 9. i 2 c-bus interface a simple i 2 c-bus interface is provided in the isp1561 to read customized vendor id, product id and some other con?guration bits from an external eeprom. the i 2 c-bus interface is intended for bidirectional communication between ics via two serial bus wires, sda (data) and scl (clock). both lines are driven by open-drain circuits and must be connected to the positive supply voltage via pull-up resistors. 9.1 protocol the i 2 c-bus protocol de?nes the following conditions: ? bus free : both sda and scl are high ? start : a high-to-low transition on sda, while scl is high ? stop : a low-to-high transition on sda, while scl is high ? data valid : after a start condition, data on sda are stable during the high period of scl; data on sda may only change while scl is low. each device on the i 2 c-bus has a unique slave address, which the master uses to select a device for access. the master starts a data transfer using a start condition and ends it by generating a stop condition. transfers can only be initiated when the bus is free. the receiver must acknowledge each byte by means of a low level on sda during the ninth clock pulse on scl. for detailed information please consult the i 2 c-bus and how to use it ., order number 9398 393 40011. 9.2 hardware connections via the i 2 c-bus interface the isp1561 can be connected to an external eeprom. the hardware connections are shown in figure 3 . fig 3. eeprom connection diagram. 004aaa163 sda scl a1 a2 a0 sda scl dv aux r p r p dv aux isp1561 usb host 24c01 eeprom or equivalent i 2 c-bus
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 33 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. the slave address which isp1561 uses to access the eeprom is 1010000b. page mode addressing is not supported, so pins a0, a1 and a2 of the eeprom must be connected to ground (logic 0). 9.3 information loading from eeprom figure 4 shows the content of the eeprom memory. if the eeprom is not present, the default values of device id (did), vendor id (vid), subsystem vid and subsystem did assigned to philips semiconductors by pci-sig will be loaded. see ta b l e 3 for these default value. for instructions on programming the eeprom, refer to designing a usb 2.0 host pci adapter using the isp1561 application note and isp1561 evaluation board users guide . 10. power management 10.1 pci bus power states the pci bus can be characterized by one of the four power management states - b0, b1, b2 and b3. b0 state (pci clock = 33 mhz, pci bus power = on) this corresponds to the bus being fully operational. b1 state (pci clock = intermittent clock operation mode, pci bus power = on) when a pci bus is in b1, v dd is still applied to all devices on the bus. however, no bus transactions are allowed to take place on the bus. the b1 state indicates a perpetual idle state on the pci bus. b2 state (pci clock = stop, pci bus power = on) v dd is still applied on the bus, but the clock is stopped and held in the low state. l = low; h = high. fig 4. information loading from eeprom. 004aaa124 subsystem vendor id (l) 0 1 3 4 6 5 2 subsystem vendor id (h) subsystem device id (l) - ohci subsystem device id (h) - ohci subsystem device id (l) - ehci subsystem device id (h) - ehci reserved - ffh signature 15h - loads subsystem vendor id, device id 1ah - loads default values defined by philips semiconductors 7 address
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 34 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. b3 state (pci clock = stop, pci bus power = off) v dd has been removed from all devices on the pci bus segment. 10.2 usb bus states reset state when the usb bus is in the reset state, the usb system is stopped. operational state when the usb bus is in the active state, the usb system is operating normally. suspend state when the usb bus is in the suspend state, the usb system is stopped. resume state when the usb bus is in the resume state, the usb system is operating normally. 11. usb host controller registers each host controller contains a set of on-chip operational registers that are mapped into non-cache memory of system addressable space. this memory space must begin on a dword (32-bit) boundary. the size of the allocated space is de?ned by the initial value in the bar 0 register. host controller drivers need to interact with these registers to implement usb and legacy support functionality. after the pci enumeration driver ?nishes the pci device con?guration, the new base address of these memory-mapped operational registers is de?ned in bar 0. the host controller driver (hcd) can access these registers by using the address of base address value + offset. ta b l e 4 1 contains a list of host controller registers.
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx philips semiconductors isp1561 usb pci host controller 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. product data rev. 01 06 february 2003 35 of 102 table 41: usb host controller registers address (hex) ohci register reset hex value [1] ehci register func0 ohci1 (2p) func0 ohci1 (1p) func1 ohci2 (2p) func1 ohci2 (1p) func2 ehci (4p) func2 ehci (2p) 00 hcrevision 00000 110 00000 110 00000 010 00000 010 0095000c 0095000c caplength/ hciversion 04 hccontrol 00000000 00000000 00000000 00000000 00002214 00002214 hcsparams 08 hccommandstatus 00000000 00000000 00000000 00000000 00000012 00000012 hccparams 0c hcinterruptstatus 00000000 00000000 00000000 00000000 00080000 00080000 usbcmd 10 hcinterruptenable 00000000 00000000 00000000 00000000 00001000 00001000 usbsts 14 hcinterruptdisable 00000000 00000000 00000000 00000000 00000000 00000000 usbintr 18 hchcca 00000000 00000000 00000000 00000000 00000000 00000000 frindex 1c hcperiodcurrented 00000000 00000000 00000000 00000000 00000000 00000000 ctrldssegment 20 hccontrolheaded 00000000 00000000 00000000 00000000 00000000 00000000 periodiclistbase 24 hccontrolcurrented 00000000 00000000 00000000 00000000 00000000 00000000 asynclistaddr 28 hcbulkheaded 00000000 00000000 00000000 00000000 - - reserved 2c hcbulkcurrented 00000000 00000000 00000000 00000000 - - reserved 30 hcdonehead 00000000 00000000 00000000 00000000 - - reserved 34 hcfminterval 00002edf 00002edf 00002edf 00002edf - - reserved 38 hcfmremaining 00000000 00000000 00000000 00000000 - - reserved 3c hcfmnumber 00000000 00000000 00000000 00000000 - - reserved 40 hcperiodicstart 00000000 00000000 00000000 00000000 - - reserved 44 hclsthreshold 00000628 00000628 00000628 00000628 - - reserved 48 hcrhdescriptora ff000902 ff000901 ff000902 ff000901 - - reserved 4c hcrhdescriptorb 00000000 00000000 00000000 00000000 00000000 00000000 configflag 50 hcrhstatus 00000000 00000000 00000000 00000000 00002000 00002000 portsc1 54 hcrhportstatus[1] 00000000 00000000 00000000 00000000 00002000 00002000 portsc2 58 hcrhportstatus[2] 00000000 - 00000000 - 00002000 - portsc3 5c reserved ---- 00002000 - portsc4 ff-60 reserved ------- 100 hcecontrol 00000000 00000000 00000000 00000000 - - -
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx philips semiconductors isp1561 usb pci host controller 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. product data rev. 01 06 february 2003 36 of 102 [1] reset hex values that are highlighted (for example, 0 ) are the isp1561 implementation speci?c reset values, and reset hex values that are not highlighted (for example, 0) are complaint with ohci and ehci speci?cation. 104 hceinput 00000000 00000000 00000000 00000000 - - - 108 hceoutput 00000000 00000000 00000000 00000000 - - - 10c hcestatus 00000000 00000000 00000000 00000000 - - - table 41: usb host controller registers continued address (hex) ohci register reset hex value [1] ehci register func0 ohci1 (2p) func0 ohci1 (1p) func1 ohci2 (2p) func1 ohci2 (1p) func2 ehci (4p) func2 ehci (2p)
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 37 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. for the ohci host controller, these registers are divided into two types: one set of operational registers for the usb operation and one set of legacy support registers for the legacy keyboard and mouse operation. for the enhanced host controller, there are two types of registers: one set of read-only capability registers and one set of read/write operational registers. 11.1 ohci usb host controller operational registers ohci host controller drivers (hcds) need to communicate with these registers to implement usb data transfers. based on their functions, these registers are classi?ed into four partitions: ? control and status ? memory pointer ? frame counter ? root hub. 11.1.1 hcrevision register (address: value read from func0 or func1 of address 10h + 00h) [1] x is 1 for ohci1 (2p) and ohci1 (1p); x is 0 for ohci2 (2p) and ohci2 (1p). table 42: hcrevision register: bit allocation bit 31 30 29 28 27 26 25 24 symbol reserved reset 00000000 access -------- bit 23 22 21 20 19 18 17 16 symbol reserved reset 00000000 access -------- bit 15 14 13 12 11 10 9 8 symbol reserved l reset 0000000x [1] access -------r bit 7 6 5 4 3 2 1 0 symbol rev[7:0] reset 00010000 access rrrrrrrr
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 38 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 11.1.2 hccontrol register (address: value read from func0 or func1 of address 10h + 04h) the hccontrol register de?nes the operating modes for the host controller. all the ?elds in this register, except for hostcontrollerfunctionalstate (hcfs) and remotewakeupconnected (rwc), are modi?ed only by the hcd. the bit allocation is given in ta b l e 4 4 . table 43: hcrevision register: bit description bit symbol description 31 to 9 - reserved 8l legacy : 0 does not support legacy devices 1 supports legacy keyboard and mouse 7 to 0 rev[7:0] revision : this read-only ?eld contains the bcd representation of the version of the hci speci?cation that is implemented by this host controller. for example, a value of 11h corresponds to version 1.1. all of the host controller implementations that are compliant with this speci?cation need to have a value of 10h. table 44: hccontrol register: bit allocation bit 31 30 29 28 27 26 25 24 symbol reserved reset 00000000 access -------- bit 23 22 21 20 19 18 17 16 symbol reserved reset 00000000 access -------- bit 15 14 13 12 11 10 9 8 symbol reserved rwe rwc ir reset 00000000 access -----r/wr/wr/w bit 7 6 5 4 3 2 1 0 symbol hcfs[1:0] ble cle ie ple cbsr[1:0] reset 00000000 access r/w r/w r/w r/w r/w r/w r/w r/w
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 39 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. table 45: hccontrol register: bit description bit symbol description 31 to 11 - reserved 10 rwe remotewakeupenable: this bit is used by the hcd to enable or disable the remote wake-up feature upon the detection of upstream resume signaling. when this bit is set and the rd bit in hcinterruptstatus is set, a remote wake-up is signaled to the host system. setting this bit has no impact on the generation of hardware interrupt. 9rwc remotewakeupconnected: this bit indicates whether the host controller supports remote wake-up signaling. if remote wake-up is supported and used by the system, it is the responsibility of the system ?rmware to set this bit during post. the host controller clears the bit upon a hardware reset but does not alter it upon a software reset. remote wake-up signaling of the host system is host-bus-speci?c and is not described in this speci?cation. 8ir interruptrouting : this bit determines the routing of interrupts generated by events registered in hcinterruptstatus. if clear, all interrupts are routed to the normal host bus interrupt mechanism. if set, interrupts are routed to the system management interrupt. the hcd clears this bit upon a hardware reset, but it does not alter this bit upon a software reset. the hcd uses this bit as a tag to indicate the ownership of the host controller. 7 to 6 hcfs[1:0] hostcontrollerfunctionalstate for usb: 00b usbreset 01b usbresume 10b usboperational 11b usbsuspend a transition to usboperational from another state causes sof generation to begin 1 ms later. the hcd may determine whether the host controller has begun sending sofs by reading the sf ?eld of hcinterruptstatus. this ?eld may be changed by the host controller only when in the usbsuspend state. the host controller may move from the usbsuspend state to the usbresume state after detecting the resume signaling from a downstream port. the host controller enters usbsuspend after a software reset; it enters usbreset after a hardware reset. the latter also resets the root hub and asserts subsequent reset signaling to downstream ports. 5 ble bulklistenable : this bit is set to enable the processing of the bulk list in the next frame. if cleared by the hcd, processing of the bulk list does not occur after the next sof. the host controller checks this bit whenever it wants to process the list. when disabled, the hcd may modify the list. if hcbulkcurrented is pointing to an endpoint descriptor (ed) to be removed, the hcd must advance the pointer by updating hcbulkcurrented before re-enabling processing of the list.
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 40 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 11.1.3 hccommandstatus register (address: value read from func0 or func1 of address 10h + 08h) the hccommandstatus register is used by the host controller to receive commands issued by the hcd, and it also re?ects the current status of the host controller. to the hcd, it appears to be a write to set register. the host controller must ensure that bits written as logic 1 become set in the register while bits written as logic 0 remain unchanged in the register. the hcd may issue multiple distinct commands to the host controller without concern for corrupting previously issued commands. the hcd has normal read access to all bits. the soc[1:0] (schedulingoverruncount) ?eld indicates the number of frames with which the host controller has detected the scheduling overrun error. this occurs when the periodic list does not complete before eof. when a scheduling overrun 4 cle controllistenable : this bit is set to enable the processing of the control list in the next frame. if cleared by the hcd, processing of the control list does not occur after the next sof. the host controller must check this bit whenever it wants to process the list. when disabled, the hcd may modify the list. if hccontrolcurrented is pointing to an ed to be removed, the hcd must advance the pointer by updating hccontrolcurrented before re-enabling processing of the list. 3ie isochronousenable: this bit is used by the hcd to enable or disable processing of isochronous eds. while processing the periodic list in a frame, the host controller checks the status of this bit when it ?nds an isochronous ed (f = 1). if set (enabled), the host controller continues processing the eds. if cleared (disabled), the host controller halts processing of the periodic list (which now contains only isochronous eds) and begins processing the bulk/control lists. setting this bit is guaranteed to take effect in the next frame (not the current frame). 2 ple periodiclistenable: this bit is set to enable the processing of the periodic list in the next frame. if cleared by the hcd, processing of the periodic list does not occur after the next sof. the host controller must check this bit before it starts processing the list. 1 to 0 cbsr[1:0] controlbulkserviceratio : this speci?es the service ratio of control eds over bulk eds. before processing any of the non-periodic lists, the host controller must compare the ratio speci?ed with its internal count on how many non-empty control eds have been processed, in determining whether to continue serving another control ed or switching to bulk eds. the internal count needs to be retained when crossing the frame boundary. after a reset, the hcd is responsible for restoring this value. 00b 1:1 01b 2:1 10b 3:1 11b 4:1 table 45: hccontrol register: bit description continued bit symbol description
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 41 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. error is detected, the host controller increments the counter and sets the so (schedulingoverrun) ?eld in the hcinterruptstatus register. ta b l e 4 6 shows the bit allocation of the hccommandstatus register. table 46: hccommandstatus register: bit allocation bit 31 30 29 28 27 26 25 24 symbol reserved reset 00000000 access -------- bit 23 22 21 20 19 18 17 16 symbol reserved soc[1:0] reset 00000000 access ------rr bit 15 14 13 12 11 10 9 8 symbol reserved reset 00000000 access -------- bit 7 6 5 4 3 2 1 0 symbol reserved ocr blf clf hcr reset 00000000 access ----r/wr/wr/wr/w table 47: hccommandstatus register: bit description bit symbol description 31 to 18 - reserved 17 to 16 soc[1:0] schedulingoverruncount: the bit is incremented on each scheduling overrun error. it is initialized to 00b and wraps around at 11b. it needs to be incremented when a scheduling overrun is detected even if the so bit in hcinterruptstatus has already been set. this is used by the hcd to monitor any persistent scheduling problems. 15 to 4 - reserved 3 ocr ownershipchangerequest : this bit is set by an os hcd to request a change of control of the host controller. when set, the host controller needs to set the oc (ownershipchange) ?eld in hcinterruptstatus. after the changeover, this bit is cleared and remains so until the next request from the os hcd.
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 42 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 11.1.4 hcinterruptstatus register (address: value read from func0 or func1 of address 10h + 0ch) this register is a four-byte register that provides the status of the events that cause hardware interrupts. the bit allocation of the register is given in ta b l e 4 8 . when an event occurs, the host controller sets the corresponding bit in this register. when a bit becomes set, a hardware interrupt is generated if the interrupt is enabled in the hcinterruptenable register (see ta b l e 5 0 ) and the mie (masterinterruptenable) bit is set. the hcd may clear speci?c bits in this register by writing logic 1 to the bit positions to be cleared. the hcd may not set any of these bits. the host controller does not clear the bit. 2 blf bulklistfilled : this bit is used to indicate whether there are any transfer descriptors (tds) on the bulk list. it is set by the hcd whenever it adds a td to an ed in the bulk list. when the host controller begins to process the head of the bulk list, it checks bulk-?lled (bf). if blf (bulklistfilled) is logic 0, the host controller does not need to process the bulk list. if blf is logic 1, the host controller needs to start processing the bulk list and set bf to logic 0. if the host controller ?nds a td on the list, then the host controller needs to set blf to logic 1 causing the bulk list processing to continue. if no td is found on the bulk list, and if the hcd does not set blf, then blf is still logic 0 when the host controller completes processing the bulk list and the bulk list processing stops. 1 clf controllistfilled : this bit is used to indicate whether there are any tds on the control list. it is set by the hcd whenever it adds a td to an ed in the control list. when the host controller begins to process the head of the control list, it checks controllistfilled (clf). if clf is logic 0, the host controller does not need to process the control list. if control-?lled (cf) is logic 1, the host controller needs to start processing the control list and set clf to logic 0. if the host controller ?nds a td on the list, then the host controller needs to set clf to logic 1 causing the control list processing to continue. if no td is found on the control list, and if the hcd does not set clf, then clf is still logic 0 when the host controller completes processing the control list and the control list processing stops. 0 hcr hostcontrollerreset: this bit is set by the hcd to initiate a software reset of the host controller. regardless of the functional state of the host controller, it moves to the usbsuspend state in which most of the operational registers are reset except those stated otherwise; for example, the ir (interruptrouting) ?eld of hccontrol, and no host bus accesses are allowed. this bit is cleared by the host controller upon the completion of the reset operation. the reset operation must be completed within 10 m s. this bit, when set, should not cause a reset to the root hub and no subsequent reset signaling should be asserted to its downstream ports. table 47: hccommandstatus register: bit description continued bit symbol description
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 43 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. table 48: hcinterruptstatus register: bit allocation bit 31 30 29 28 27 26 25 24 symbol reserved oc reserved reset 00000000 access -r/w------ bit 23 22 21 20 19 18 17 16 symbol reserved reset 00000000 access -------- bit 15 14 13 12 11 10 9 8 symbol reserved reset 00000000 access -------- bit 7 6 5 4 3 2 1 0 symbol reserved rhsc fno ue rd sf wdh so reset 00000000 access - r/w r/w r/w r/w r/w r/w r/w table 49: hcinterruptstatus register: bit description bit symbol description 31 - reserved 30 oc ownershipchange: this bit is set by the host controller when hcd sets the ocr (ownershipchangerequest) ?eld in hccommandstatus. this event, when unmasked, will always generate a system management interrupt (smi) immediately. this bit is forced to 0 when the smi# pin is not implemented. 29 to 7 - reserved 6 rhsc roothubstatuschange: this bit is set when the content of hcrhstatus or the content of any of hcrhportstatus[numberofdownstreamport] has changed. 5 fno framenumberover?ow: this bit is set when the msb of hcfmnumber (bit 15) changes value, or after the hccaframenumber has been updated. 4ue unrecoverableerror: this bit is set when the host controller detects a system error not related to usb. the host controller should not proceed with any processing nor signaling before the system error has been corrected. the hcd clears this bit after the host controller has been reset. 3rd resumedetected: this bit is set when the host controller detects that a device on the usb is asserting resume signaling. it is the transition from no resume signaling to resume signaling causing this bit to be set. this bit is not set when the hcd sets the usbresume state.
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 44 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 11.1.5 hcinterruptenable register (address: value read from func0 or func1 of address 10h + 10h) each enable bit in the hcinterruptenable register corresponds to an associated interrupt bit in the hcinterruptstatus register. the hcinterruptenable register is used to control which events generate a hardware interrupt. if the following conditions occur: ? a bit is set in the hcinterruptstatus register. ? the corresponding bit in the hcinterruptenable register is set. ? the mie (masterinterruptenable) bit is set. then, a hardware interrupt is requested on the host bus. writing logic 1 to a bit in this register sets the corresponding bit, whereas writing logic 0 to a bit in this register leaves the corresponding bit unchanged. on a read, the current value of this register is returned. the bit allocation is given in ta b l e 5 0 . 2sf startofframe: at the start of each frame, this bit is set by the host controller and an sof token is generated at the same time. 1 wdh writebackdonehead : this bit is set immediately after the host controller has written hcdonehead to hccadonehead. further, updates of hccadonehead occur only after this bit has been cleared. the hcd should only clear this bit after it has saved the content of hccadonehead. 0so schedulingoverrun: this bit is set when usb schedules for current frame overruns and after the update of hccaframenumber. a scheduling overrun causes the soc (schedulingoverruncount) of hccommandstatus to be incremented. table 49: hcinterruptstatus register: bit description continued bit symbol description table 50: hcinterruptenable register: bit allocation bit 31 30 29 28 27 26 25 24 symbol mie oc reserved reset 00000000 access r/wr/w------ bit 23 22 21 20 19 18 17 16 symbol reserved reset 00000000 access -------- bit 15 14 13 12 11 10 9 8 symbol reserved reset 00000000 access --------
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 45 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 11.1.6 hcinterruptdisable register (address: value read from func0 or func1 of address 10h + 14h) each disable bit in the hcinterruptdisable register corresponds to an associated interrupt bit in the hcinterruptstatus register. the hcinterruptdisable register is coupled with the hcinterruptenable register. therefore, writing logic 1 to a bit in this register clears the corresponding bit in the hcinterruptenable register, whereas writing logic 0 to a bit in this register leaves the corresponding bit in the hcinterruptenable register unchanged. on a read, the current value of the hcinterruptenable register is returned. the register contains four bytes, and the bit allocation is given in ta b l e 5 2 . bit 7 6 5 4 3 2 1 0 symbol reserved rhsc fno ue rd sf wdh so reset 00000000 access - r/w r/w r/w r/w r/w r/w r/w table 51: hcinterruptenable register: bit description bit symbol description 31 mie masterinterruptenable : logic 0 is ignored by the host controller. logic 1 enables interrupt generation by events speci?ed in other bits of this register. 30 oc 0 ignore 1 enable interrupt generation due to ownership change 29 to 7 - reserved 6 rhsc 0 ignore 1 enable interrupt generation due to root hub status change 5 fno 0 ignore 1 enable interrupt generation due to frame number over?ow 4ue 0 ignore 1 enable interrupt generation due to unrecoverable error 3rd 0 ignore 1 enable interrupt generation due to resume detect 2sf 0 ignore 1 enable interrupt generation due to start-of-frame 1 wdh 0 ignore 1 enable interrupt generation due to hcdonehead writeback 0so 0 ignore 1 enable interrupt generation due to scheduling overrun table 52: hcinterruptdisable register: bit allocation bit 31 30 29 28 27 26 25 24 symbol mie oc reserved reset 00000000 access r/wr/w------
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 46 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 11.1.7 hchcca register (address: value read from func0 or func1 of address 10h + 18h) the hchcca register contains the physical address of the host controller communication area (hcca). the bit allocation is given in ta b l e 5 4 . the hcd determines the alignment restrictions by writing all 1s to hchcca and reading the content of hchcca. the alignment is evaluated by examining the number of zeroes bit 23 22 21 20 19 18 17 16 symbol reserved reset 00000000 access -------- bit 15 14 13 12 11 10 9 8 symbol reserved reset 00000000 access -------- bit 7 6 5 4 3 2 1 0 symbol reserved rhsc fno ue rd sf wdh so reset 00000000 access - r/w r/w r/w r/w r/w r/w r/w table 53: hcinterruptdisable register: bit description bit symbol description 31 mie masterinterruptenable : logic 0 is ignored by the host controller. logic 1 disables interrupt generation due to events speci?ed in other bits of this register. this ?eld is set after a hardware or software reset. (interrupts are disabled). 30 oc 0 ignore 1 disable interrupt generation due to ownership change 29 to 7 - reserved 6 rhsc 0 ignore 1 disable interrupt generation due to root hub status change 5 fno 0 ignore 1 disable interrupt generation due to frame number over?ow 4ue 0 ignore 1 disable interrupt generation due to unrecoverable error 3rd 0 ignore 1 disable interrupt generation due to resume detect 2sf 0 ignore 1 disable interrupt generation due to start-of-frame 1 wdh 0 ignore 1 disable interrupt generation due to hcdonehead writeback 0so 0 ignore 1 disable interrupt generation due to scheduling overrun
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 47 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. in the lower order bits. the minimum alignment is 256 bytes; therefore, bits 0 through 7 will always return logic 0 when read. this area is used to hold the control structures and the interrupt table that are accessed by both the host controller and the hcd. 11.1.8 hcperiodcurrented register (address: value read from func0 or func1 of address 10h + 1ch) the hcperiodcurrented register contains the physical address of the current isochronous or interrupt ed. ta b l e 5 6 gives the bit allocation of the register. table 54: hchcca register: bit allocation bit 31 30 29 28 27 26 25 24 symbol hcca[23:16] reset 00000000 access r/w r/w r/w r/w r/w r/w r/w r/w bit 23 22 21 20 19 18 17 16 symbol hcca[15:8] reset 00000000 access r/w r/w r/w r/w r/w r/w r/w r/w bit 15 14 13 12 11 10 9 8 symbol hcca[7:0] reset 00000000 access r/w r/w r/w r/w r/w r/w r/w r/w bit 7 6 5 4 3 2 1 0 symbol reserved reset 00000000 access -------- table 55: hchcca register: bit description bit symbol description 31 to 8 hcca[23:0] host controller communication area base address : this is the base address of the hcca. 7 to 0 - reserved table 56: hcperiodiccurrented register: bit allocation bit 31 30 29 28 27 26 25 24 symbol pced[27:20] reset 00000000 access rrrrrrrr bit 23 22 21 20 19 18 17 16 symbol pced[19:12] reset 00000000 access rrrrrrrr
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 48 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 11.1.9 hccontrolheaded register (address: value read from func0 or func1 of address 10h + 20h) the hccontrolheaded register contains the physical address of the ?rst ed of the control list. the bit allocation is given in ta b l e 5 8 . bit 15 14 13 12 11 10 9 8 symbol pced[11:4] reset 00000000 access rrrrrrrr bit 7 6 5 4 3 2 1 0 symbol pced[3:0] reserved reset 00000000 access rrrr ---- table 57: hcperiodcurrented register: bit description bit symbol description 31 to 4 pced[27:0] periodcurrented : this is used by the host controller to point to the head of one of the periodic lists that needs to be processed in the current frame. the content of this register is updated by the host controller after a periodic ed has been processed. the hcd may read the content in determining which ed is currently being processed at the time of reading. 3 to 0 - reserved table 58: hccontrolheaded register: bit allocation bit 31 30 29 28 27 26 25 24 symbol ched[27:20] reset 00000000 access rrrrrrrr bit 23 22 21 20 19 18 17 16 symbol ched[19:12] reset 00000000 access rrrrrrrr bit 15 14 13 12 11 10 9 8 symbol ched[11:4] reset 00000000 access rrrrrrrr bit 7 6 5 4 3 2 1 0 symbol ched[3:0] reserved reset 00000000 access rrrr ----
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 49 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 11.1.10 hccontrolcurrented register (address: value read from func0 or func1 of address 10h + 24h) the hccontrolcurrented register contains the physical address of the current ed of the control list. the bit allocation is given in ta b l e 6 0 . table 59: hccontrolheaded register: bit description bit symbol description 31 to 4 ched[27:0] controlheaded: the host controller traverses the control list starting with the hccontrolheaded pointer. the content is loaded from hcca during the initialization of the host controller. 3 to 0 - reserved table 60: hccontrolcurrented register: bit allocation bit 31 30 29 28 27 26 25 24 symbol cced[27:20] reset 00000000 access rrrrrrrr bit 23 22 21 20 19 18 17 16 symbol cced[19:12] reset 00000000 access rrrrrrrr bit 15 14 13 12 11 10 9 8 symbol cced[11:4] reset 00000000 access rrrrrrrr bit 7 6 5 4 3 2 1 0 symbol cced[3:0] reserved reset 00000000 access rrrr ---- table 61: hccontrolcurrented register: bit description bit symbol description 31 to 4 cced[27:0] controlcurrented : this pointer is advanced to the next ed after serving the present one. the host controller needs to continue processing the list from where it left off in the last frame. when it reaches the end of the control list, the host controller checks the clf (controllistfilled) bit of hccommandstatus. if set, it copies the content of hccontrolheaded to hccontrolcurrented and clears the bit. if not set, it does nothing. the hcd is allowed to modify this register only when the cle (controllistenable) bit of hccontrol is cleared. when set, the hcd only reads the instantaneous value of this register. initially, this is set to logic 0 to indicate the end of the control list. 3 to 0 - reserved
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 50 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 11.1.11 hcbulkheaded register (address: value read from func0 or func1 of address 10h + 28h) this is a four-byte register, and the bit allocation is given in ta b l e 6 2 . the register contains the physical address of the ?rst ed of the bulk list. 11.1.12 hcbulkcurrented register (address: value read from func0 or func1 of address 10h + 2ch) this register contains the physical address of the current endpoint of the bulk list. as the bulk list needs to be served in a round-robin fashion, the endpoints are ordered according to their insertion to the list. the bit allocation is given in ta b l e 6 4 . table 62: hcbulkheaded register: bit allocation bit 31 30 29 28 27 26 25 24 symbol bhed[27:20] reset 00000000 access r/w r/w r/w r/w r/w r/w r/w r/w bit 23 22 21 20 19 18 17 16 symbol bhed[19:12] reset 00000000 access r/w r/w r/w r/w r/w r/w r/w r/w bit 15 14 13 12 11 10 9 8 symbol bhed[11:4] reset 00000000 access r/w r/w r/w r/w r/w r/w r/w r/w bit 7 6 5 4 3 2 1 0 symbol bhed[3:0] reserved reset 00000000 access r/wr/wr/wr/w---- table 63: hcbulkheaded register: bit description bit symbol description 31 to 4 bhed[27:0] bulkheaded: the host controller traverses the bulk list starting with the hcbulkheaded pointer. the content is loaded from hcca during the initialization of the host controller. 3 to 0 - reserved table 64: hcbulkcurrented register: bit allocation bit 31 30 29 28 27 26 25 24 symbol bced[27:20] reset 00000000 access r/w r/w r/w r/w r/w r/w r/w r/w bit 23 22 21 20 19 18 17 16 symbol bced[19:12] reset 00000000 access r/w r/w r/w r/w r/w r/w r/w r/w
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 51 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 11.1.13 hcdonehead register (address: value read from func0 or func1 of address 10h + 30h) the hcdonehead register contains the physical address of the last completed td that was added to the done queue. in normal operation, the hcd does not need to read this register as its content is periodically written to the hcca. ta b l e 6 6 contains the bit allocation of the register. bit 15 14 13 12 11 10 9 8 symbol bced[11:4] reset 00000000 access r/w r/w r/w r/w r/w r/w r/w r/w bit 7 6 5 4 3 2 1 0 symbol bced[3:0] reserved reset 00000000 access r/wr/wr/wr/w---- table 65: hcbulkcurrented register: bit description bit symbol description 31 to 4 bced[27:0] bulkcurrented : this is advanced to the next ed after the host controller has served the present one. the host controller continues processing the list from where it left off in the last frame. when it reaches the end of the bulk list, the host controller checks the clf (controllistfilled) bit of hccontrol. if the clf bit is not set, nothing is done. if the clf bit is set, it copies the content of hcbulkheaded to hcbulkcurrented and clears the clf bit. the hcd can only modify this register when the ble (bulklistenable) bit of hccontrol is cleared. when hccontrol is set, the hcd reads the instantaneous value of this register. this is initially set to 0 to indicate the end of the bulk list. 3 to 0 - reserved table 66: hcdonehead register: bit allocation bit 31 30 29 28 27 26 25 24 symbol dh[27:20] reset 00000000 access r/w r/w r/w r/w r/w r/w r/w r/w bit 23 22 21 20 19 18 17 16 symbol dh[19:12] reset 00000000 access r/w r/w r/w r/w r/w r/w r/w r/w bit 15 14 13 12 11 10 9 8 symbol dh[11:4] reset 00000000 access r/w r/w r/w r/w r/w r/w r/w r/w
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 52 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 11.1.14 hcfminterval register (address: value read from func0 or func1 of address 10h + 34h) the hcfminterval register contains a 14-bit value that indicates the bit time interval in a frame, (that is, between two consecutive sofs) and a 15-bit value indicating the full-speed maximum packet size that the host controller may transmit or receive without causing a scheduling overrun. the hcd may carry out minor adjustment on the fi (frameinterval) by writing a new value over the present one at each sof. this provides the possibility for the host controller to synchronize with an external clocking resource and to adjust any unknown local clock offset. the bit allocation of the register is given in ta b l e 6 8 . bit 7 6 5 4 3 2 1 0 symbol dh[3:0] reserved reset 00000000 access r/wr/wr/wr/w---- table 67: hcdonehead register: bit description bit symbol description 31 to 4 dh[27:0] donehead: when a td is completed, the host controller writes the content of hcdonehead to the nexttd ?eld of the td. the host controller then overwrites the content of hcdonehead with the address of this td. this is set to logic 0 whenever the host controller writes the content of this register to hcca. 3 to 0 - reserved table 68: hcfminterval register: bit allocation bit 31 30 29 28 27 26 25 24 symbol fit fsmps[14:8] reset 00000000 access r/w r/w r/w r/w r/w r/w r/w r/w bit 23 22 21 20 19 18 17 16 symbol fsmps[7:0] reset 00000000 access r/w r/w r/w r/w r/w r/w r/w r/w bit 15 14 13 12 11 10 9 8 symbol reserved fi[13:8] reset 00101110 access - - r/w r/w r/w r/w r/w r/w bit 7 6 5 4 3 2 1 0 symbol fi[7:0] reset 11011111 access r/w r/w r/w r/w r/w r/w r/w r/w
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 53 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 11.1.15 hcfmremaining register (address: value read from func0 or func1 of address 10h + 38h) the hcfmremaining register is a 14-bit down counter showing the bit time remaining in the current frame. ta b l e 7 0 contains the bit allocation of this four-byte register. table 69: hcfminterval register: bit description bit symbol description 31 fit frameintervaltoggle : the hcd toggles this bit whenever it loads a new value to frameinterval. 30 to 16 fsmps[14:0] fslargestdatapacket : this ?eld speci?es a value that is loaded into the largest data packet counter at the beginning of each frame. the counter value represents the largest amount of data in bits that can be sent or received by the host controller in a single transaction at any given time without causing a scheduling overrun. the ?eld value is calculated by the hcd. 15 to 14 - reserved 13 to 0 fi[13:0] frameinterval: this speci?es the interval between two consecutive sofs in bit times. the nominal value is set to 11,999. the hcd should store the current value of this ?eld before resetting the host controller because this causes the ?eld to be reset the nominal value. the hcd can then restore the stored value upon the completion of the reset sequence. table 70: hcfmremaining register: bit allocation bit 31 30 29 28 27 26 25 24 symbol frt reserved reset 00000000 access r/w------- bit 23 22 21 20 19 18 17 16 symbol reserved reset 00000000 access -------- bit 15 14 13 12 11 10 9 8 symbol reserved fr[13:8] reset 00000000 access - - r/w r/w r/w r/w r/w r/w bit 7 6 5 4 3 2 1 0 symbol fr[7:0] reset 00000000 access r/w r/w r/w r/w r/w r/w r/w r/w
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 54 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 11.1.16 hcfmnumber register (address: value read from func0 or func1 of address 10h + 3ch) this register is a 16-bit counter, and the bit allocation is given in ta b l e 7 2 . it provides a timing reference among events happening in the host controller and the hcd. the hcd may use the 16-bit value speci?ed in this register and generate a 32-bit frame number without requiring frequent access to the register. table 71: hcfmremaining register: bit description bit symbol description 31 frt frameremainingtoggle: this bit is loaded from the fit (frameintervaltoggle) ?eld of hcfminterval whenever fr (frameremaining) reaches 0. this bit is used by the hcd for the synchronization between fi (frameinterval) and fr. 30 to 14 - reserved 13 to 0 fr[13:0] frameremaining: this counter is decremented at each bit time. when it reaches 0, it is reset by loading the fi value speci?ed in hcfminterval at the next bit time boundary. when entering the usboperational state, the host controller re-loads the content with the fi of hcfminterval and uses the updated value from the next sof. table 72: hcfmnumber register: bit allocation bit 31 30 29 28 27 26 25 24 symbol reserved reset 00000000 access -------- bit 23 22 21 20 19 18 17 16 symbol reserved reset 00000000 access -------- bit 15 14 13 12 11 10 9 8 symbol reserved fn[13:8] reset 00000000 access - - r/w r/w r/w r/w r/w r/w bit 7 6 5 4 3 2 1 0 symbol fn[7:0] reset 00000000 access r/w r/w r/w r/w r/w r/w r/w r/w
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 55 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 11.1.17 hcperiodicstart register (address: value read from func0 or func1 of address 10h + 40h) the hcperiodicstart register has a 14-bit programmable value that determines when is the earliest time the host controller should start processing the periodic list. the bit allocation is given in ta b l e 7 4 . table 73: hcfmnumber register: bit description bit symbol description 31 to 14 - reserved 13 to 0 fn[13:0] framenumber : this is incremented when hcfmremaining is re-loaded. it needs to be rolled over to 0h after ffffh. when entering the usboperational state, this is incremented automatically. the content is written to hcca after the host controller has incremented framenumber at each frame boundary and sent a sof but before the host controller reads the ?rst ed in that frame. after writing to hcca, the host controller sets the sf (startofframe) in hcinterruptstatus. table 74: hcperiodicstart register: bit allocation bit 31 30 29 28 27 26 25 24 symbol reserved reset 00000000 access -------- bit 23 22 21 20 19 18 17 16 symbol reserved reset 00000000 access -------- bit 15 14 13 12 11 10 9 8 symbol reserved p_s[13:8] reset 00000000 access - - r/w r/w r/w r/w r/w r/w bit 7 6 5 4 3 2 1 0 symbol p_s[7:0] reset 00000000 access r/w r/w r/w r/w r/w r/w r/w r/w table 75: hcperiodicstart register: bit description bit symbol description 31 to 14 - reserved 13 to 0 p_s[13:0] periodicstart: after a hardware reset, this ?eld is cleared. this is then set by the hcd during the host controller initialization. the value is calculated roughly as 10% of the hcfminterval. a typical value is 3e67h. when hcfmremaining reaches the value speci?ed, processing of the periodic lists have priority over control/bulk processing. the host controller, therefore, starts processing the interrupt list after completing the current control or the bulk transaction that is in progress.
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 56 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 11.1.18 hclsthreshold register (address: value read from func0 or func1 of address 10h + 44h) this register contains an 11-bit value used by the host controller to determine whether to commit to the transfer of a maximum of 8-byte ls packet before eof. neither the host controller nor the hcd are allowed to change this value. the bit allocation of the hclsthreshold register is given in ta b l e 7 6 . 11.1.19 hcrhdescriptora register (address: value read from func0 or func1 of address 10h + 48h) the hcrhdescriptora register is the ?rst of two registers describing the characteristics of the root hub. reset values are implementation-speci?c. the descriptor length (11), descriptor type (tbd) and hub controller current (0) ?elds of the hub class descriptor are emulated by the hcd. all other ?elds are located in the hcrhdescriptora and hcrhdescriptorb registers. ta b l e 7 8 contains the bit allocation of the hcrhdescriptora register. table 76: hclsthreshold register: bit allocation bit 31 30 29 28 27 26 25 24 symbol reserved reset 00000000 access -------- bit 23 22 21 20 19 18 17 16 symbol reserved reset 00000000 access -------- bit 15 14 13 12 11 10 9 8 symbol reserved lst[11:8] reset 00000110 access ----r/wr/wr/wr/w bit 7 6 5 4 3 2 1 0 symbol lst[7:0] reset 00101000 access r/w r/w r/w r/w r/w r/w r/w r/w table 77: hclsthreshold register: bit description bit symbol description 31 to 12 - reserved 11 to 0 lst[11:0] lsthreshold : this ?eld contains a value that is compared to the fr (frameremaining) ?eld prior to initiating a low-speed transaction. the transaction is started only if fr 3 this ?eld. the value is calculated by the hcd with the consideration of transmission and setup overhead.
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 57 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. [1] x is 1 for ohci1 (2p) and ohci2 (2p); x is 0 for ohci1 (1p) and ohci2 (1p). [2] x is 0 for ohci1 (2p) and ohci2 (2p); x is 1 for ohci1 (1p) and ohci2 (1p). table 78: hcrhdescriptora register: bit allocation bit 31 30 29 28 27 26 25 24 symbol potpgt[7:0] reset 11111111 access r/w r/w r/w r/w r/w r/w r/w r/w bit 23 22 21 20 19 18 17 16 symbol reserved reset 00000000 access -------- bit 15 14 13 12 11 10 9 8 symbol reserved nocp ocpm dt nps psm reset 00001001 access - - - r/w r/w r r/w r/w bit 7 6 5 4 3 2 1 0 symbol ndp[7:0] reset 000000x [1] x [2] access rrrrrrrr table 79: hcrhdescriptora register: bit description bit symbol description 31 to 24 potpgt[7:0] powerontopowergoodtime: this byte speci?es the duration hcd has to wait before accessing a powered-on port of the root hub. it is implementation-speci?c. the unit of time is 2 ms. the duration is calculated as potpgt 2ms. 23 to 13 - reserved 12 nocp noovercurrentprotection: this bit describes how the overcurrent status for root hub ports are reported. when this bit is cleared, the ocpm (overcurrentprotectionmode) ?eld speci?es global or per-port reporting. 0 overcurrent status is reported collectively for all downstream ports 1 no overcurrent protection supported 11 ocpm overcurrentprotectionmode : this bit describes how the overcurrent status for root hub ports are reported. at reset, this ?elds re?ects the same mode as powerswitchingmode. this ?eld is valid only if the nocp ?eld is cleared. 0 overcurrent status is reported collectively for all downstream ports 1 overcurrent status is reported on a per-port basis 10 dt devicetype : this bit speci?es that the root hub is not a compound device. the root hub is not permitted to be a compound device. this ?eld should always read 0.
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 58 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 11.1.20 hcrhdescriptorb register (address: value read from func0 or func1 of address 10h + 4ch) the hcrhdescriptorb register is the second of two registers describing the characteristics of the root hub. the bit allocation is given in ta b l e 8 0 . these ?elds are written during initialization to correspond with the system implementation. reset values are implementation-speci?c. 9 nps nopowerswitching : this bit is used to specify whether power switching is supported or ports are always powered. it is implementation-speci?c. when this bit is cleared, the psm (powerswitchingmode) ?eld speci?es global or per-port switching. 0 ports are power switched 1 ports are always powered on when the host controller is powered on 8 psm powerswitchingmode: this bit is used to specify how the power switching of root hub ports is controlled. it is implementation-speci?c. this ?eld is only valid if the nps ?eld is cleared. 0 all ports are powered at the same time. 1 each port is powered individually. this mode allows port power to be controlled by either the global switch or per-port switching. if the ppcm (portpowercontrolmask) bit is set, the port responds only to port power commands (set/clearportpower). if the port mask is cleared, then the port is controlled only by the global power switch (set/clearglobalpower). 7 to 0 ndp[7:0] numberdownstreamports: these bits specify the number of downstream ports supported by the root hub. it is implementation-speci?c. the minimum number of ports is 1. the maximum number of ports supported by ohci is 15. table 79: hcrhdescriptora register: bit description continued bit symbol description table 80: hcrhdescriptorb register: bit allocation bit 31 30 29 28 27 26 25 24 symbol ppcm[15:0] reset 00000000 access r/w r/w r/w r/w r r/w r/w r/w bit 23 22 21 20 19 18 17 16 symbol ppcm[7:0] reset 00000000 access r/w r/w r/w r/w r/w r/w r/w r/w bit 15 14 13 12 11 10 9 8 symbol dr[15:8] reset 00000000 access r/w r/w r/w r/w r/w r/w r/w r/w
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 59 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 11.1.21 hcrhstatus register (address: value read from func0 or func1 of address 10h + 50h) the hcrhstatus register is divided into two parts. the lower word of a dword represents the hub status ?eld and the upper word represents the hub status change ?eld. reserved bits should always be written as logic 0. ta b l e 8 2 contains the bit allocation of the register. bit 7 6 5 4 3 2 1 0 symbol dr[7:0] reset 00000000 access r/w r/w r/w r/w r/w r/w r/w r/w table 81: hcrhdescriptorb register: bit description bit symbol description 31 to 16 ppcm[15:0] portpowercontrolmask: each bit indicates whether a port is affected by a global power control command when powerswitchingmode is set. when set, the power state of the port is only affected by per-port power control (set/clearportpower). when cleared, the port is controlled by the global power switch (set/clearglobalpower). if the device is con?gured to global switching mode (powerswitchingmode = 0), this ?eld is not valid. bit 0 reserved bit 1 ganged-power mask on port #1 bit 2 ganged-power mask on port #2. 15 to 0 dr[15:0] deviceremovable: each bit is dedicated to a port of the root hub. when cleared, the attached device is removable. when set, the attached device is not removable. bit 0 reserved bit 1 device attached to port #1 bit 2 device attached to port #2. table 82: hcrhstatus register: bit allocation bit 31 30 29 28 27 26 25 24 symbol crwe reserved reset 00000000 access r/w------- bit 23 22 21 20 19 18 17 16 symbol reserved ccic lpsc reset 00000000 access ------r/wr/w bit 15 14 13 12 11 10 9 8 symbol drwe reserved reset 00000000 access r/w-------
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 60 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. bit 7 6 5 4 3 2 1 0 symbol reserved oci lps reset 00000000 access ------rrw table 83: hcrhstatus register: bit description bit symbol description 31 crwe on write clearremotewakeupenable: writing logic 1 clears drwe (deviceremotewakeupenable). writing logic 0 has no effect. 30 to 18 - reserved 17 ccic overcurrentindicatorchange: this bit is set by hardware when a change has occurred to the oci (overcurrentindicator) ?eld of this register. the hcd clears this bit by writing logic 1. writing logic 0 has no effect. 16 lpsc on read localpowerstatuschange: the root hub does not support the local power status feature. therefore, this bit is always logic 0. on write setglobalpower: in the global power mode (powerswitchingmode = 0), this bit is written to logic1 to turn on power to all ports (clear portpowerstatus). in the per-port power mode, it sets portpowerstatus only on ports whose portpowercontrolmask bit is not set. writing logic 0 has no effect. 15 drwe on read deviceremotewakeupenable: this bit enables the bit connectstatuschange as a resume event, causing a state transition usbsuspend to usbresume and setting the resumedetected interrupt. 0 connectstatuschange is not a remote wake-up event 1 connectstatuschange is a remote wake-up event on write setremotewakeupenable: writing logic 1 sets drwe (deviceremotewakeupenable). writing logic 0 has no effect. 14 to 2 - reserved 1 oci overcurrentindicator: this bit reports overcurrent conditions when global reporting is implemented. when set, an overcurrent condition exists. when clear, all power operations are normal. if the per-port overcurrent protection is implemented, this bit is always logic 0. 0 lps on read localpowerstatus: the root hub does not support the local power status feature. therefore, this bit is always read as logic 0. on write clearglobalpower: in the global power mode (powerswitchingmode = 0), this bit is written to logic 1 to turn off power to all ports (clear portpowerstatus). in the per-port power mode, it clears portpowerstatus only on ports whose portpowercontrolmask bit is not set. writing logic 0 has no effect.
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 61 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 11.1.22 hcrhportstatus[1:4] register (address: value read from func0 or func1 of address 10h + 54h) the hcrhportstatus[1:4] register is used to control and report port events on a per-port basis. numberdownstreamports represents the number of hcrhportstatus registers that are implemented in hardware. the lower word is used to re?ect the port status, whereas the upper word re?ects the status change bits. some status bits are implemented with special write behavior. if a transaction (token through handshake) is in progress when a write to change port status occurs, the resulting port status change is postponed until the transaction completes. reserved bits should always be written logic 0. the bit allocation of the register is given in ta b l e 8 4 . table 84: hcrhportstatus[1:4] register: bit allocation bit 31 30 29 28 27 26 25 24 symbol reserved reset 00000000 access -------- bit 23 22 21 20 19 18 17 16 symbol reserved prsc ocic pssc pesc csc reset 00000000 access - - - r/w r/w r/w r/w r/w bit 15 14 13 12 11 10 9 8 symbol reserved lsda pps reset 00000000 access ------r/wr/w bit 7 6 5 4 3 2 1 0 symbol reserved prs poci pss pes ccs reset 00000000 access - - - r/w r/w r/w r/w r/w table 85: hcrhportstatus[1:4] register: bit description bit symbol description 31 to 21 - reserved 20 prsc portresetstatuschange: this bit is set at the end of the 10 ms port reset signal. the hcd can write logic 1 to clear this bit. writing logic 0 has no effect. 0 port reset is not complete 1 port reset is complete 19 ocic portovercurrentindicatorchange: this bit is valid only if overcurrent conditions are reported on a per-port basis. this bit is set when the root hub changes the poci (portovercurrentindicator) bit. the hcd can write logic 1 to clear this bit. writing logic 0 has no effect. 0 no change in portovercurrentindicator 1 poci has changed
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 62 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 18 pssc portsuspendstatuschange: this bit is set when the full resume sequence has been completed. this sequence includes the 20 ms resume pulse, ls eop and 3 ms re-synchronization delay. the hcd can write logic 1 to clear this bit. writing logic 0 has no effect. this bit is also cleared when resetstatuschange is set. 0 resume is not completed 1 resume is completed 17 pesc portenablestatuschange: this bit is set when hardware events cause the pes (portenablestatus) bit to be cleared. changes from the hcd writes do not set this bit. the hcd can write logic 1 to clear this bit. writing logic 0 has no effect. 0 no change in pes 1 change in pes 16 csc connectstatuschange: this bit is set whenever a connect or disconnect event occurs. the hcd can write logic 1 to clear this bit. writing logic 0 has no effect. if ccs (currentconnectstatus) is cleared when a setportreset, setportenable or setportsuspend write occurs, this bit is set to force the driver to re-evaluate the connection status because these writes should not occur if the port is disconnected. 0 no change in ccs 1 change in ccs remark: if the deviceremovable[ndp] bit is set, this bit is set only after a root hub reset to inform the system that the device is attached. 15 to 10 - reserved 9 lsda on read lowspeeddeviceattached: this bit indicates the speed of the device attached to this port. when set, a low-speed device is attached to this port. when clear, a full-speed device is attached to this port. this ?eld is valid only when the ccs is set. 0 port is not suspended 1 port is suspended on write clearportpower: the hcd can clear the pps (portpowerstatus) bit by writing logic 1 to this bit. writing logic 0 has no effect. table 85: hcrhportstatus[1:4] register: bit description continued bit symbol description
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 63 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 8 pps on read portpowerstatus: this bit re?ects the port power status, regardless of the type of power switching implemented. this bit is cleared if an overcurrent condition is detected. the hcd can set this bit by writing setportpower or setglobalpower. the hcd can clear this bit by writing clearportpower or clearglobalpower. powerswitchingmode and portpowercontrolmask[ndp] determine which power control switches are enabled. in the global switching mode (powerswitchingmode = 0), only set/clearglobalpower controls this bit. in the per-port power switching (powerswitchingmode = 1), if the portpowercontrolmask[ndp] bit for the port is set, only set/clearportpower commands are enabled. if the mask is not set, only set/clearglobalpower commands are enabled. when port power is disabled, ccs (currentconnectstatus), pes (portenablestatus), pss (portsuspendstatus) and prs (portresetstatus) should be reset. 0 port power is off 1 port power is on on write setportpower: the hcd can write logic 1 to set the pps (portpowerstatus) bit. writing logic 0 has no effect. remark: this bit always reads logic1 if power switching is not supported. 7 to 5 - reserved 4 prs on read portresetstatus: when this bit is set by a write to setportreset, port reset signaling is asserted. when reset is completed and prsc (portresetstatuschange) is set, this bit is cleared. 0 port reset signal is not active 1 port reset signal is active on write setportreset: the hcd can set the port reset signaling by writing a 1 to this bit. writing a 0 has no effect. if ccs is cleared, this write does not set prs (portresetstatus) but instead sets ccs. this informs the driver that it attempted to reset a disconnected port. 3 poci on read portovercurrentindicator: this bit is valid only when the root hub is con?gured to show overcurrent conditions are reported on a per-port basis. if the per-port overcurrent reporting is not supported, this bit is set to logic 0. if cleared, all power operations are normal for this port. if set, an overcurrent condition exists on this port. 0 no overcurrent condition 1 overcurrent condition detected on write clearsuspendstatus: the hcd can write logic 1 to initiate a resume. writing logic 0 has no effect. a resume is initiated only if pss (portsuspendstatus) is set. table 85: hcrhportstatus[1:4] register: bit description continued bit symbol description
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 64 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 2 pss on read portsuspendstatus: this bit indicates whether the port is suspended or is in the resume sequence. it is set by a setsuspendstate write and cleared when pssc (portsuspendstatuschange) is set at the end of the resume interval. this bit is not set if ccs (currentconnectstatus) is cleared. this bit is also cleared when prsc (portresetstatuschange) is set at the end of the port reset or when the host controller is placed in the usbresume state. if an upstream resume is in progress, it will propagate to the host controller. 0 port is not suspended 1 port is suspended on write setportsuspend: the hcd can set the pss (portsuspendstatus) bit by writing logic 1 to this bit. writing logic 0 has no effect. if ccs is cleared, this write does not set pss; instead it sets css. this informs the driver that it attempted to suspend a disconnected port. 1 pes on read portenablestatus: this bit indicates whether the port is enabled or disabled. the root hub may clear this bit when an overcurrent condition, disconnect event, switched-off power or operational bus error is detected. this change also causes portenabledstatuschange to be set. the hcd can set this bit by writing setportenable and clear it by writing clearportenable. this bit cannot be set when ccs (currentconnectstatus) is cleared. this bit is also set at the completion of a port reset when resetstatuschange is set or at the completion of a port suspend when suspendstatuschange is set. 0 port is disable 1 port is enabled on write setportenable: the hcd can set pes (portenablestatus) by writing logic 1. writing logic 0 has no effect. if ccs is cleared, this write does not set pes, but instead sets csc (connectstatuschange). this informs the driver that it attempted to enable a disconnected port. 0 ccs on read currentconnectstatus: this bit re?ects the current state of the downstream port. 0 no device connected 1 device connected on write clearportenable: the hcd can write logic 1 to this bit to clear the pes (portenablestatus) bit. writing logic 0 has no effect. the ccs (currentconnectstatus) bit, on read, is not affected by any write to clearportenable. remark: this bit always reads logic 1 when the attached device is nonremovable (deviceremoveable[ndp]). table 85: hcrhportstatus[1:4] register: bit description continued bit symbol description
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 65 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 11.2 usb legacy support registers the isp1561 supports legacy keyboards and mice. four operational registers are used to provide the legacy support. each of these registers is located on a 32-bit boundary. the offset of these registers is relative to the base address of the host controller operational registers with hcecontrol located at offset 100h. 11.2.1 hcecontrol register (address: value read from func0 or func1 of address 10h + 100h) table 86: legacy support registers offset register description 100h hcecontrol used to enable and control the emulation hardware and report various status information 104h hceinput emulation of the legacy input buffer register 108h hceoutput emulation of the legacy output buffer register where keyboard and mouse data is to be written by software 10ch hcestatus emulation of the legacy status register table 87: emulated registers i/o address cycle type register contents accessed/modi?ed side effects 60h in hceoutput in from port 60h sets outputfull in hcestatus to 0 60h out hceinput out to port 60h sets inputfull to 1 and cmddata to 0 in hcestatus 64h in hcestatus in from port 64h returns current value of hcestatus with no other side effect 64h out hceinput out to port 64h sets inputfull to 0 and cmddata in hcestatus to 1 table 88: hcecontrol register: bit allocation bit 31 30 29 28 27 26 25 24 symbol reserved reset 00000000 access -------- bit 23 22 21 20 19 18 17 16 symbol reserved reset 00000000 access -------- bit 15 14 13 12 11 10 9 8 symbol reserved a20s reset 00000000 access -------r/w bit 7 6 5 4 3 2 1 0 symbol irq12a irq1a ga20s eirqen irqen c_p ei ee reset 00000000 access r/w r/w r/w r/w r/w r/w r r/w
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 66 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 11.2.2 hceinput register (address: value read from func0 or func1 of address 10h + 104h) the hceinput register is a four-byte register, and the bit allocation is given in ta b l e 9 0 . i/o data that is written to ports 60h and 64h is captured in this register when emulation is enabled. this register may be read or written directly by accessing it in the host controllers operational register space. when accessed directly in a memory cycle, reads and writes of this register have no side effects. table 89: hcecontrol register: bit description bit symbol description 31 to 9 - reserved 8 a20s a20state : this bit indicates the current state of gate a20 on the keyboard controller. it is used to compare against value written to 60h when ga20s (gatea20sequence) is active. 7 irq12a irq12active : this bit indicates that a positive transition on irq12 from the keyboard controller has occurred. writing a logic 1 sets irq12 to logic 0 (inactive). writing a logic 0 to this bit has no effect. 6 irq1a irq1active : this bit indicates that a positive transition on irq1 from the keyboard controller has occurred. writing a logic 1 sets irq1 to logic 0 (inactive). writing a logic 0 to this bit has no effect. 5 ga20s gatea20sequence : this bit is set by the host controller when a data value of d1h is written to i/o port 64h and cleared, on a write to i/o port 64h of any value other than d1h. 4 eirqen externalirqen : when this bit is set to logic 1, irq1 and irq12 from the keyboard controller cause an emulation interrupt. this bit is independent of the setting of the ee (emulationenable) bit in this register. 3 irqen irqen : when this bit is set, the host controller generates irq1 or irq12 as long as the out_full (outputfull) bit in hcestatus is set to logic 1. if the aux_out_full (auxoutputfull) bit of hcestatus is logic 0, then irq1 is generated; if it is logic 1, then an irq12 is generated. 2 c_p characterpending : when this bit is set, an emulation interrupt is generated when the out_full (outputfull) bit of the hcestatus register is set to logic 0. 1ei emulationinterrupt : this bit shows the emulation interrupt condition. logic 0 legacy emulation enabled logic 1 legacy emulation disabled 0ee emulationenable : when this bit is set to logic 1, the host controller is enabled for legacy emulation. the host controller decodes accesses to i/o registers 60h and 64h and enables interrupts on irq1 and/or irq12. the host controller also generates an emulation interrupt at appropriate times to invoke the emulation software.
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 67 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 11.2.3 hceoutput register (address: value read from func0 or func1 of address 10h + 108h) data placed in this register by the emulation software is returned when i/o port 60h is read and emulation is enabled. on a read of this location, the out_full (outputfull) bit in hcestatus is set to logic 0. the bit allocation is given in ta b l e 9 2 . table 90: hceinput register: bit allocation bit 31 30 29 28 27 26 25 24 symbol reserved reset 00000000 access -------- bit 23 22 21 20 19 18 17 16 symbol reserved reset 00000000 access -------- bit 15 14 13 12 11 10 9 8 symbol reserved reset 00000000 access -------- bit 7 6 5 4 3 2 1 0 symbol in_data[7:0] reset 00000000 access r/w r/w r/w r/w r/w r/w r/w r/w table 91: hceinput register: bit description bit symbol description 31 to 8 - reserved 7 to 0 in_data[7:0] inputdata : this register holds data that is written to i/o ports 60h or 64h. table 92: hceoutput register: bit allocation bit 31 30 29 28 27 26 25 24 symbol reserved reset 00000000 access -------- bit 23 22 21 20 19 18 17 16 symbol reserved reset 00000000 access -------- bit 15 14 13 12 11 10 9 8 symbol reserved reset 00000000 access --------
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 68 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 11.2.4 hcestatus register (address: value read from func0 or func1 of address 10h + 10ch) the contents of the hcestatus register are returned on an i/o read of port 64h when emulation is enabled. reads and writes of port 60h and writes to port 64h can cause changes in this register. emulation software can directly access this register through its memory address in the host controllers operational register space. accessing this register through its memory address produces no side effects. ta b l e 9 4 contains the bit allocation. bit 7 6 5 4 3 2 1 0 symbol out_data[7:0] reset 00000000 access r/w r/w r/w r/w r/w r/w r/w r/w table 93: hceoutput register: bit description bit symbol description 31 to 8 - reserved 7 to 0 out_data[7:0] outputdata : this register holds the data that is returned when an i/o read of port 60h is requested by application software. table 94: hcestatus register: bit allocation bit 31 30 29 28 27 26 25 24 symbol reserved reset 00000000 access -------- bit 23 22 21 20 19 18 17 16 symbol reserved reset 00000000 access -------- bit 15 14 13 12 11 10 9 8 symbol reserved reset 00000000 access -------- bit 7 6 5 4 3 2 1 0 symbol parity timeout aux_out _full inh_sw cmd_data flag in_full out_full reset 00000000 access r/w r/w r/w r/w r/w r/w r/w r/w table 95: hcestatus register: bit description bit symbol description 31 to 8 - reserved 7 parity parity : this bit indicates parity error on keyboard and mouse data. 6 timeout timeout : this bit indicates a timeout.
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 69 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 11.3 ehci controller capability registers other than the ohci host controller, there are some registers in ehci that de?ne the capability of ehci. the address range of these registers is located before the operational registers. 11.3.1 caplength/hciversion register (address: value read from func2 of address 10h + 00h) the bit allocation of this four-byte register is given in ta b l e 9 6 . 5 aux_out_ full auxoutputfull : irq12 is asserted whenever this bit is set to logic 1, out_full (outputfull) is set to logic 1, and the irqen bit is set. 4 inh_sw inhibit switch : this bit re?ects the state of the keyboard inhibit switch. if set, the keyboard is active. 3 cmd_data cmddata : the host controller sets this bit to logic 0 on an i/o write to port 60h and to logic 1 on an i/o write to port 64h. 2 flag flag : nominally used as a system ?ag by software to indicate a warm or cold boot. 1 in_full inputfull : except for the case of a gate a20 sequence, this bit is set to logic 1 on an i/o write to address 60h or 64h. while this bit is set to logic 1 and emulation is enabled, an emulation interrupt condition exists. 0 out_full outputfull : the host controller sets this bit to logic 0 on a read of i/o port 60h. if irqen is set, aux_out_full (auxoutputfull) determines which irq is activated. while this bit is logic 0 and characterpending in hcecontrol is set to logic 1, an emulation interrupt condition exists. table 95: hcestatus register: bit description continued bit symbol description table 96: caplength/hciversion register: bit allocation bit 31 30 29 28 27 26 25 24 symbol reserved reset 00000000 access -------- bit 23 22 21 20 19 18 17 16 symbol hciversion[15:8] reset 10010101 access rrrrrrrr bit 15 14 13 12 11 10 9 8 symbol hciversion[7:0] reset 00000000 access rrrrrrrr bit 7 6 5 4 3 2 1 0 symbol caplength[7:0] reset 00001100 access rrrrrrrr
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 70 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 11.3.2 hcsparams register (address: value read from func2 of address 10h + 04h) the host controller structural parameters (hcsparams) register is a set of ?elds that are structural parameters. the bit allocation is given in ta b l e 9 8 . table 97: caplength/hciversion register: bit description bit symbol description 31 to 24 - reserved 23 to 8 hciversion [15:0] host controller interface version number : it contains a bcd encoding of the version number if the interface to which the host controller interface conforms to the standard. 7 to 0 caplength [7:0] capability register length : this is used as an offset. it is added to the register base to ?nd the beginning of the operational register space. table 98: hcsparams register: bit allocation bit 31 30 29 28 27 26 25 24 symbol reserved reset 00000000 access -------- bit 23 22 21 20 19 18 17 16 symbol dpn[3:0] reserved p_indi cator reset 00000000 access rrrr - - - r bit 15 14 13 12 11 10 9 8 symbol n_cc[3:0] n_pcc[3:0] reset 00100010 access rrrrrrrr bit 7 6 5 4 3 2 1 0 symbol prr reserved ppc n_ports[3:0] reset 00010100 access r - - rrrrr table 99: hcsparams register: bit description bit symbol description 31 to 24 - reserved 23 to 20 dpn[3:0] debug port number : this ?eld identi?es which of the host controller ports is the debug port. a non-zero value in this ?eld indicates the presence of a debug port. the value in this register must not be greater than n_ports. 19 to 17 reserved 16 p_indi cator port indicators : this bit indicates whether the ports support port indicator control. when this bit is logic 1, the port status and control registers include a read/writeable ?eld for controlling the state of the port indicator.
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 71 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 11.3.3 hccparams register (address: value read from func2 of address 10h + 08h) the host controller capability parameters (hccparams) register is a four-byte register, and the bit allocation is given in table 100 . 15 to 12 n_cc [3:0] number of companion controller : this ?eld indicates the number of companion controllers associated with this hi-speed usb host controller. a value of zero in this ?eld indicates there are no companion host controllers. port-ownership hand-off is not supported. only high-speed devices are supported on the host controller root ports. a value larger than zero in this ?eld indicates there are companion original usb host controller(s). port-ownership hand-offs are supported. 11 to 8 n_pcc [3:0] number of ports per companion controller : this ?eld indicates the number of ports supported per companion host controller. it is used to indicate the port routing con?guration to system software. for example, if n_ports has a value of 6 and n_cc has a value of 2, then n_pcc could have a value of 3. the convention is that the ?rst n_pcc ports are assumed to be routed to companion controller 1, the next n_pcc ports to companion controller 2, and so on. in the previous example, n_pcc could have been 4, in which the ?rst 4 are routed to companion controller 1 and the last two are routed to companion controller 2. the number in this ?eld must be consistent with n_ports and n_cc. 7 prr port routing rules : this ?eld indicates the method used for mapping ports to the companion controllers. 0 the ?rst n_pcc ports are routed to the lowest numbered function companion host controller, the next n_pcc ports are routed to the next lowest function companion controller, and so on. 1 the port routing is explicitly enumerated by the ?rst n_ports elements of the hcsp-portroute array. 6 to 5 - reserved 4 ppc port power control: this ?eld indicates whether the host controller implementation includes port power control. logic 1 indicates the port has port power switches. logic 0 indicates the port does not have port power switches. the value of this ?eld affects the functionality of the port power ?eld in each port status and control register. 3 to 0 n_ports [3:0] n_ports : this ?eld speci?es the number of physical downstream ports implemented on this host controller. the value of this ?eld determines how many port registers are addressable in the operational register space. valid values are in the range of 1h to fh. logic 0 in this ?eld is unde?ned. table 99: hcsparams register: bit description continued bit symbol description
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 72 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. table 100: hccparams register: bit allocation bit 31 30 29 28 27 26 25 24 symbol reserved reset 00000000 access -------- bit 23 22 21 20 19 18 17 16 symbol reserved reset 00000000 access -------- bit 15 14 13 12 11 10 9 8 symbol reserved reset 00000000 access -------- bit 7 6 5 4 3 2 1 0 symbol ist[3:0] reserved pflf 64ac reset 00010010 access rrrr - - rr table 101: hccparams register: bit description bit symbol description 31 to 8 - reserved 7 to 4 ist[3:0] isochronous scheduling threshold : default = implementation dependent. this ?eld indicates, relative to the current position of the executing host controller, where software can reliably update the isochronous schedule. when (ist[3]) is logic 0, then the value of the least signi?cant 3 bits indicates the number of microframes a host controller can hold a set of isochronous data structures (one or more) before ?ushing the state. when ist[3] is logic 1, then host software assumes the host controller may cache an isochronous data structure for an entire frame. 3 to 2 - reserved 1 pflf programmable frame list flag : default = implementation dependent. if this bit is cleared, the system software must use a frame list length of 1024 elements with this host controller. the usbcmd register fls (frame list size) ?eld is a read-only register and should be cleared. if pflf is set, the system software can specify and use a smaller frame list and con?gure the host via the usbcmd register fls ?eld. the frame list must always be aligned on a 4 k page boundary to ensure that the frame list is always physically contiguous. 0 64ac 64-bit addressing capability : this ?eld documents the addressing range capability. 0 data structures using 32-bit address memory pointers 1 data structures using 64-bit address memory pointers
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 73 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 11.4 operational registers of enhanced usb host controller 11.4.1 usbcmd register (address: value read from func2 of address 10h + 0ch) the usb command (usbcmd) register indicates the command to be executed by the serial host controller. writing to this register causes a command to be executed. table 102 shows the usbcmd register bit allocation. table 102: usbcmd register: bit allocation bit 31 30 29 28 27 26 25 24 symbol reserved reset 00000000 access -------- bit 23 22 21 20 19 18 17 16 symbol itc[7:0] reset 00001000 access r/w r/w r/w r/w r/w r/w r/w r/w bit 15 14 13 12 11 10 9 8 symbol reserved reset 00000000 access -------- bit 7 6 5 4 3 2 1 0 symbol lhcr iaad ase pse fls[1:0] hc reset rs reset 00000000 access r/w r/w r/w r/w r/w r/w r/w r/w table 103: usbcmd register: bit description bit symbol description 31 to 24 - reserved 23 to 16 itc[7:0] interrupt threshold control : default 08h. this ?eld is used by system software to select the maximum rate at which the host controller will issue interrupts. valid values are de?ned below. if software writes an invalid value to this register, the results are unde?ned. 00h reserved 01h 1 microframe 02h 2 microframes 04h 4 microframes 08h 8 microframes (equals 1 ms) 10h 16 microframes (equals 2 ms) 20h 32 microframes (equals 4 ms) 40h 64 microframes (equals 8 ms) software modi?cations to this ?eld while hch (hchalted) bit is zero results in unde?ned behavior.
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 74 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 15 to 8 - reserved 7 lhcr light host controller reset : this control bit is not required. it allows the driver software to reset the ehci controller without affecting the state of the ports or the relationship to the companion host controllers. if not implemented, a read of this ?eld will always return zero.if implemented, on read: logic 0 indicates the light host controller reset has completed and it is ready for the host software to re-initialize the host controller logic 1 indicates the light host controller reset has not yet completed 6 iaad interrupt on asynchronous advance doorbell : this bit is used as a doorbell by software to tell the host controller to issue an interrupt the next time it advances the asynchronous schedule. software must write logic 1 to this bit to ring the doorbell. when the host controller has evicted all appropriate cached schedule states, it sets the iaa (interrupt on asynchronous advance) status bit in the usbsts register. if the iaae (interrupt on asynchronous advance enable) bit in the usbintr register is a one, then the host controller will assert an interrupt at the next interrupt threshold. the host controller sets this bit to a zero after it sets the iaa (interrupt on asynchronous advance) status bit in the usbsts register. software should not set this bit when the asynchronous schedule is inactive as this results in an unde?ned value. 5 ase asynchronous schedule enable : default = 0. this bit controls whether the host controller skips processing the asynchronous schedule. logic 0 do not process the asynchronous schedule logic 1 use the asynclistaddr register to access the asynchronous schedule 4 pse periodic schedule enable : default 0. this bit controls whether the host controller skips processing the periodic schedule. logic 0 do not process the periodic schedule logic 1 use the periodiclistbase register to access the periodic schedule 3 to 2 fls[1:0] frame list size : default 00b. this ?eld is r/w only if pflf (programmable frame list flag) in the hccparams register is set to a one. this ?eld speci?es the size of the frame list. the size the frame list controls which bits in the frame index register should be used for the frame list current index. 00b 1024 elements (4096 bytes) 01b 512 elements (2048 bytes) 10b 256 elements (1024 bytes) for small environments 11b reserved. table 103: usbcmd register: bit description continued bit symbol description
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 75 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 11.4.2 usbsts register (address: value read from func2 of address 10h + 10h) the usb status (usbsts) register indicates pending interrupts and various states of the host controller. the status resulting from a transaction on the serial bus is not indicated in this register. software clears the register bits by writing ones to them. the bit allocation is given in table 104 . 1 hcreset host controller reset : this control bit is used by the software to reset the host controller. the effects of this on root hub registers are similar to a chip hardware reset. setting this bit causes the host controller to reset its internal pipelines, timers, counters, state machines, etc. to their initial value. any transaction currently in progress on usb is immediately terminated. a usb reset is not driven on downstream ports. pci con?guration registers are not affected by this reset. all operational registers, including port registers and port state machines are set to their initial values. port ownership reverts to the companion host controller(s). the software must re-initialize the host controller to return it to an operational state. this bit is cleared by the host controller when the reset process is complete. software cannot terminate the reset process early by writing a zero to this register. software should check the hch (hchalted) bit in the usbsts register is zero before setting this bit. attempting to reset an actively running host controller results in unde?ned behavior. 0rs run/stop : 1 = run. 0 = stop. when set, the host controller executes the schedule. the host controller continues execution as long as this bit is set. when this bit is cleared, the host controller completes the current and active transactions in the usb pipeline, and then halts. the hch (hchalted) bit in the usbsts register indicates when the host controller has ?nished the transaction and has entered the stopped state. software should check hch (hchalted) in the usbsts register is logic 1 before setting this bit. table 103: usbcmd register: bit description continued bit symbol description table 104: usbsts register: bit allocation bit 31 30 29 28 27 26 25 24 symbol reserved reset 00000000 access -------- bit 23 22 21 20 19 18 17 16 symbol reserved reset 00000000 access -------- bit 15 14 13 12 11 10 9 8 symbol ass psstat recl hch reserved reset 00010000 access rrrr ----
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 76 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. bit 7 6 5 4 3 2 1 0 symbol reserved iaa hse flr pcd usb errint usbint reset 00000000 access - - r r/w r/w r/w r/w r/w table 105: usbsts register: bit description bit symbol description 31 to 16 - reserved 15 ass asynchronous schedule status : 0 = default. the bit reports the current real status of the asynchronous schedule. if this bit is zero, the status of the asynchronous schedule is disabled. if this bit is one, the status of the asynchronous schedule is enabled. the host controller is not required to immediately disable or enable the asynchronous schedule when software changes the ase (asynchronous schedule enable) bit in the usbcmd register. when this bit and the ase (asynchronous schedule enable) bit are the same value, the asynchronous schedule is either enabled (1) or disabled (0). 14 psstat periodic schedule status : 0 = default. this bit reports the current status of the periodic schedule. if this bit is zero then the status of the periodic schedule is disabled. if this bit is a one then the status of the periodic schedule is enabled. the host controller is not required to immediately disable or enable the periodic schedule when software changes the pse (periodic schedule enable) bit in the usbcmd register. when this bit and the pse bit are the same value, the periodic schedule is either enabled (1) or disabled (0). 13 recl reclamation : 0 = default. this is a read-only status bit that is used to detect an empty asynchronous schedule. 12 hch hchalted : 1 = default. this bit is zero when the run/stop bit of the usbcmd register is one. the host controller sets this bit to one after it has stopped executing as a result of the run/stop bit being set to zero, either by software or by the host controller hardware (for example, on an internal error). 11 to 6 - reserved 5 iaa interrupt on asynchronous advance : 0 = default. system software can force the host controller to issue an interrupt the next time the host controller advances the asynchronous schedule by writing a one to the iaad (interrupt on asynchronous advance doorbell) bit in the usbcmd register. this status bit indicates the assertion of that interrupt source. 4 hse host system error : the host controller sets this bit when a serious error occurs during a host system access involving the host controller module. in a pci system, conditions that set this bit include pci parity error, pci master abort and pci target abort. when this error occurs, the host controller clears the rs (run/stop) bit in the usbcmd register to prevent further execution of the scheduled tds.
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 77 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 11.4.3 usbintr register (address: value read from func2 of address 10h + 14h) the usb interrupt enable (usbintr) register enables and disables reporting of the corresponding interrupt to the software. when a bit is set and the corresponding interrupt is active, an interrupt is generated to the host. interrupt sources that are disabled in this register still appear in the usbsts to allow the software to poll for events. the usbsts register bit allocation is give in table 106 . 3 flr frame list rollover : the host controller sets this bit to a one when the frame list index rolls over from its maximum value to zero. the exact value at which the rollover occurs depends on the frame list size. for example, if the frame list size (as programmed in the fls (frame list size) ?eld of the usbcmd register) is 1024, the frame index register rolls over every time bit 13 of the frindex register toggles. similarly, if the size is 512, the host controller sets this bit to a one every time bit 12 of the frindex register toggles. 2 pcd port change detect : the host controller sets this bit to a one when any port, where the po (port owner) bit is cleared, has a change to a one or a force port resume bit changes to a one as a result of a j-k transition detected on a suspended port. this bit is allowed to be maintained in the auxiliary power well. alternatively, it is also acceptable that, on a d3 to d0 transition of the ehci hc device, this bit is loaded with the logical or of all of the portsc change bits (including: force port resume, overcurrent change, enable/disable change and connect status change). 1 usberrint usb error interrupt : the host controller sets this bit when completion of a usb transaction results in an error condition (for example, error counter under?ow). if the td (transfer descriptor) on which the error interrupt occurred also had its ioc bit set, both this bit and usbint bit are set. 0 usbint usb interrupt : the host controller sets this bit on completion of a usb transaction, which results in the retirement of a transfer descriptor that had its ioc bit set. the host controller also sets this bit when a short packet is detected (actual number of bytes received was less than the expected number of bytes). table 105: usbsts register: bit description continued bit symbol description table 106: usbintr register: bit allocation bit 31 30 29 28 27 26 25 24 symbol reserved reset 00000000 access -------- bit 23 22 21 20 19 18 17 16 symbol reserved reset 00000000 access --------
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 78 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 11.4.4 frindex register (address: value read from func2 of address 10h + 18h) the frame index (frindex) register is used by the host controller to index into the periodic frame list. the register updates every 125 m s (once each microframe). bits n to 3 are used to select a particular entry in the periodic frame list during periodic schedule execution. the number of bits used for the index depends on the size of the frame list as set by system software in the fls (frame list size) ?eld in the usbcmd register. this register must be written as a dword. byte writes produce unde?ned results. this register cannot be written unless the host controller is in the bit 15 14 13 12 11 10 9 8 symbol reserved reset 00000000 access -------- bit 7 6 5 4 3 2 1 0 symbol reserved iaae hsee flre pcie usberr inte usbinte reset 00000000 access - - r/w r/w r/w r/w r/w r/w table 107: usbintr register: bit description bit symbol description 31 to 6 - reserved 5 iaae interrupt on asynchronous advance enable : when this bit is set and the iaa (interrupt on asynchronous advance) bit in the usbsts register is set, the host controller issues an interrupt at the next interrupt threshold. the interrupt is acknowledged by software clearing the iaa (interrupt on asynchronous advance) bit. 4 hsee host system error enable : when this bit is set and the host system error status bit in the usbsts register is set, the host controller issues an interrupt. the interrupt is acknowledged by software clearing the hse (host system error) bit. 3 flre frame list rollover enable : when this bit is set and the flr (frame list rollover) bit in the usbsts register is set, the host controller issues an interrupt. the interrupt is acknowledged by software clearing the flr (frame list rollover) bit. 2 pcie port change interrupt enable : when this bit is set and the pcd (port change detect) bit in the usbsts register is set, the host controller issues an interrupt. the interrupt is acknowledged by software clearing the pcd (port change detect) bit. 1 usb errinte usb error interrupt enable : when this bit is set and the usberrint bit in the usbsts register is set, the host controller issues an interrupt at the next interrupt threshold. the interrupt is acknowledged by software clearing the usberrint bit. 0 usbinte usb interrupt enable : when this bit is set and the usbint bit in the usbsts register is set, the host controller issues an interrupt at the next interrupt threshold. the interrupt is acknowledged by software clearing the usbint bit.
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 79 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. halted state as indicated by the hch (hchalted) bit. a write to this register while the rs (run/stop) bit is set produces unde?ned results. writes to this register also affect the sof value. the bit allocation is given in table 108 . table 108: frindex register: bit allocation bit 31 30 29 28 27 26 25 24 symbol reserved reset 00000000 access -------- bit 23 22 21 20 19 18 17 16 symbol reserved reset 00000000 access -------- bit 15 14 13 12 11 10 9 8 symbol reserved frindex[13:8] reset 00000000 access - - r/w r/w r/w r/w r/w r/w bit 7 6 5 4 3 2 1 0 symbol frindex[7:0] reset 00000000 access r/w r/w r/w r/w r/w r/w r/w r/w table 109: frindex register: bit description bit symbol description 31 to 14 - reserved 13 to 0 frindex [13:0] frame index : bits in this register are used for the frame number in the sof packet and as the index into the frame list. the value in this register increments at the end of each time frame (for example, microframe). the bits used for the frame number in the sof token are taken from bits 13 to 3 of this register. bits n to 3 are used for the frame list current index. this means that each location of the frame list is accessed 8 times (frames or microframes) before moving to the next index. the following illustrates values of n based on the value of the fls (frame list size) ?eld in the usbcmd register. usbcmd [frame list size ] number elements n 00b (1024) 12 01b (512) 11 10b (256) 10 11b (reserved) -
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 80 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 11.4.5 ctrldssegment register (address: value read from func2 of address 10h + 1ch) the control data structure segment (ctrldssegment) register corresponds to the most signi?cant address bits (bits 63 to 32) for all ehci data structures. if the 64ac (64-bit addressing capability) ?eld in hccparams is cleared, then this register is not used and software cannot write to it (reading from this register returns zero). if the 64ac (64-bit addressing capability) ?eld in hccparams is set, this register is used with the link pointers to construct 64-bit addresses to ehci control data structures. this register is concatenated with the link pointer from either the periodiclistbase, asynclistaddr, or any control data structure link ?eld to construct a 64-bit address. this register allows the host software to locate all control data structures within the same 4 gigabyte memory segment. 11.4.6 periodiclistbase register (address: value read from func2 of address 10h + 20h) the periodic frame list base address (periodlistbase) register contains the beginning address of the periodic frame list in the system memory. if the host controller is in the 64-bit mode (as indicated by a one in the 64ac (64-bit addressing capability) ?eld in the hccsparams register), then the most signi?cant 32 bits of every control data structure address comes from the ctrldssegment register. system software loads this register prior to starting the schedule execution by the host controller. the memory structure referenced by this physical memory pointer is assumed to be 4 kbyte aligned. the contents of this register are combined with the frindex register to enable the host controller to step through the periodic frame list in sequence. the bit allocation is given in table 110 . table 110: periodiclistbase register: bit allocation bit 31 30 29 28 27 26 25 24 symbol ba[19:12] reset 00000000 access r/w r/w r/w r/w r/w r/w r/w r/w bit 23 22 21 20 19 18 17 16 symbol ba[11:4] reset 00000000 access r/w r/w r/w r/w r/w r/w r/w r/w bit 15 14 13 12 11 10 9 8 symbol ba[3:0] reserved reset 00000000 access r/wr/wr/wr/w---- bit 7 6 5 4 3 2 1 0 symbol reserved reset 00000000 access --------
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 81 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 11.4.7 asynclistaddr register (address: value read from func2 of address 10h + 24h) this 32-bit register (bit allocation: table 112 ) contains the address of the next asynchronous queue head to be executed. if the host controller is in 64-bit mode (as indicated by a one in 64ac (64-bit addressing capability) ?eld in the hccparams register), then the most signi?cant 32 bits of every control data structure address comes from the ctrldssegment register. bits 4 to 0 of this register always return zeros when read. the memory structure referenced by the physical memory pointer is assumed to be 32-byte (cache aligned). 11.4.8 configflag register (address: value read from func2 of address 10h + 5ch) the bit allocation of the con?gure flag (configflag) register is given in table 114 . table 111: periodiclistbase register: bit description bit symbol description 31 to 12 ba[19:0] base address : these bits correspond to memory address signals 31 to 12, respectively. 11 to 0 - reserved table 112: asynclistaddr register: bit allocation bit 31 30 29 28 27 26 25 24 symbol lpl[19:12] reset 00000000 access r/w r/w r/w r/w r/w r/w r/w r/w bit 23 22 21 20 19 18 17 16 symbol lpl[11:4] reset 00000000 access r/w r/w r/w r/w r/w r/w r/w r/w bit 15 14 13 12 11 10 9 8 symbol lpl[3:0] reserved reset 00000000 access r/wr/wr/wr/w---- bit 7 6 5 4 3 2 1 0 symbol reserved reset 00000000 access -------- table 113: asynclistaddr register: bit description bit symbol description 31 to 12 lpl[19:0] link pointer list : these bits correspond to memory address signals 31 to 12, respectively. this ?eld may only reference a queue head (qh). 11 to 0 - reserved
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 82 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 11.4.9 portsc registers 1, 2, 3, 4 (address: value read from func2 of address 10h + 50h + (4 x port number - 1)) where port number is 1, 2, 3,...n_ports the port status and control (portsc) register (bit allocation: table 116 ) is in the auxiliary power well. it is only reset by hardware when the auxiliary power is initially applied or in response to a host controller reset. the initial conditions of a port are: ? no device connected ? port disabled if the port has power control, software cannot change the state of the port until it sets the port power bits. software must not attempt to change the state of the port until the power is stable on the port (max. delay is 20 ms from the transition). table 114: configflag register: bit allocation bit 31 30 29 28 27 26 25 24 symbol reserved reset 00000000 access -------- bit 23 22 21 20 19 18 17 16 symbol reserved reset 00000000 access -------- bit 15 14 13 12 11 10 9 8 symbol reserved reset 00000000 access -------- bit 7 6 5 4 3 2 1 0 symbol reserved cf reset 00000000 access -------r/w table 115: configflag register: bit description bit symbol description 31 to 1 - reserved 0cf con?gure flag : the host software sets this bit as the last action in its process of con?guring the hc. this bit controls the default port-routing control logic. 0 port routing control logic default-routes each port to an implementation dependent classic hc 1 port routing control logic default-routes all ports to this hc table 116: portsc 1, 2, 3, 4 register: bit allocation bit 31 30 29 28 27 26 25 24 symbol reserved reset 00000000 access --------
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 83 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. bit 23 22 21 20 19 18 17 16 symbol reserved wkoc_e wkds cnnt_e wkcnnt_ e ptc[3:0] reset 00000000 access - r/w r/w r/w r/w r/w r/w r/w bit 15 14 13 12 11 10 9 8 symbol pic[1:0] po pp ls[1:0] reserved pr reset 00100000 access r r r/w r/w r/w r/w - r bit 7 6 5 4 3 2 1 0 symbol susp fpr occ oca pedc ped ecsc eccs reset 00000000 access r/w r/w r r r/w r/w r/w r table 117: portsc 1, 2, 3, 4 register: bit description bit symbol description 31 to 23 - reserved 22 wkoc_e wake on overcurrent enable : default = 0. setting this bit enables the port to be sensitive to overcurrent conditions as wake-up events. [1] 21 wkds cnnt_e wake on disconnect enable : default = 0. setting this bit enables the port to be sensitive to device disconnects as wake-up events. [1] 20 wkcnnt _e wake on connect enable : default = 0. setting this bit enables the port to be sensitive to device connects as wake-up events. [1] 19 to 16 ptc[3:0] port test contro l: default = 0000b. when this ?eld is zero, the port is not operating in a test mode. a non-zero value indicates that it is operating in test mode and the test mode is indicated by the value. the encoding of the test mode bits are (0110b to 1111b are reserved): 0000b test mode disabled 0001b test j_state 0010b test k_state 0011b test se0_nak 0100b test packet 0101b test force_enable 15 to 14 pic[1:0] port indicator control . default = 0. writing to this ?eld has no effect if the p_indicator bit in the hcsparams register is a zero. if p_indicator bit is a one, then the bit encoding is: 00b port indicators are off 01b amber 10b green 11b unde?ned refer to the universal serial bus speci?cation rev. 2.0 for a description on how these bits are implemented. [1]
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 84 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 13 po port owner : default = 1. this bit unconditionally goes to a 0 when the con?gured bit in the configflag register makes a 0 to 1 transition. this bit unconditionally goes to 1 whenever the con?gured bit is zero. system software uses this ?eld to release ownership of the port to a selected host controller (in the event that the attached device is not a high-speed device). software writes a one to this bit when the attached device is not a high-speed device. a one in this bit means that a companion host controller owns and controls the port. 12 pp port power : the function of this bit depends on the value of the port power control (ppc) ?eld in the hcsparams register. if ppc = 0 and pp = 1 the host controller does not have port power control switches. each port is hardwired to power. if ppc = 1 and pp = 1 or 0 the host controller has port power control switches. this bit represents the current setting of the switch (logic 0 = off, logic 1 = on). when pp is logic 0, the port is non-functional and will not report any status when an overcurrent condition is detected on a powered port and ppc is a logic 1, the pp bit in each affected port may be changed by the host controller from a logic 1 to a logic 0 (removing power from the port). 11 to 10 ls[1:0] line status : this ?eld re?ect the current logical levels of the dp (bit 11) and dm (bit 10) signal lines. these bits are used for detection of low-speed usb devices prior to the port reset and enable sequence. this ?eld is valid only when the port enable bit is zero and the current connect status bit is set to one. 00b se0: not low-speed device, perform ehci reset 01b j-state: not low-speed device, perform ehci reset 10b k-state: low-speed device, release ownership of port 11b unde?ned: not low-speed device, perform ehci reset. if port power (pp) is zero, this ?eld is unde?ned. 9 - reserved table 117: portsc 1, 2, 3, 4 register: bit description continued bit symbol description
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 85 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 8pr port reset : logic 1 means the port is in reset. a logic 0 means the port is not in reset. default = 0. when software sets this bit (from a logic 0), the bus reset sequence as de?ned in the universal serial bus speci?cation rev. 2.0 is started. software clears this bit to terminate the bus reset sequence. software must hold this bit at logic 1 until the reset sequence, as speci?ed in the universal serial bus speci?cation rev. 2.0 , is completed. remark: when software sets this bit, it must also clear the port enable bit. remark: when software clears this bit, there may be a delay before the bit status changes to logic 0, because it will not read logic 0 until the reset is completed. if the port is in the high-speed mode after reset is completed, the host controller will automatically enable this port (it can set the port enable bit). a host controller must terminate the reset and stabilize the state of the port within 2 ms of software changing this bit from a logic 1 to a logic 0. for example, if the port detects that the attached device is high-speed during a reset, then the host controller must enable the port within 2 ms of software clearing this bit. the hch (hchalted) bit in the usbsts register must be a logic 0 before software attempts to use this bit. the host controller may hold port reset asserted when the hch (hchalted) bit is set. [1] 7 susp suspend : default = 0. a logic 1 means the port is in the suspend state. a logic 0 means the port is not suspended. the port enabled bit and the suspend bit of this register de?ne the port states as follows: ped = 0 and susp = x port is disabled ped = 1 and susp = 0 port is enabled ped = 1 and susp = 1 port is suspended when in the suspend state, downstream propagation of data is blocked on this port, except for the port reset. if a transaction was in progress when this bit was set, he blocking occurs at the end of the current transaction. in the suspend state, the port is sensitive to resume detection. note that the bit status does not change until the port is suspended and that there may be a delay in suspending a port if there is a transaction currently in progress on the usb. attempts to clear this bit are ignored by the host controller. the host controller will unconditionally set this bit to a logic 0 when: ? software changes the fpr (force port resume) bit to logic 0. ? software changes the pr (port reset) bit to logic 1. if the host software sets this bit when the port enabled bit is a logic 0, the results are unde?ned. [1] table 117: portsc 1, 2, 3, 4 register: bit description continued bit symbol description
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 86 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 6 fpr force port resume : a logic 1 means resume detected or driven on the port. a logic 0 means no resume (k-state) detected or driven on the port. default = 0. software sets this bit to drive the resume signaling. the host controller sets this bit if a j-to-k transition is detected while the port is in the suspend state. when this bit changes to a logic 1 because a j-to-k transition is detected, the pcd (port change detect) bit in the usbsts register is also set to a logic 1. if software sets this bit to a logic 1, the host controller must not set the pcd (port change detect) bit. note that when the ehci controller owns the port, the resume sequence follows the sequence documented in the usb speci?cation rev. 2.0 . the resume signaling (full-speed k) is driven on the port as long as this bit remains set. software must time the resume and clear this bit after the correct amount of time has elapsed. clearing this bit causes the port to return to high-speed mode (forcing the bus below the port into a high-speed idle). this bit will remain at one until the port has switched to the high-speed idle. the host controller must complete this transition within 2 ms of software clearing this bit. [1] 5 occ overcurrent change : default = 0. this bit is set to a logic 1 when there is a change in overcurrent active. software clears this bit by setting this bit to a one. 4 oca overcurrent active : default = 0. if set to logic 1, this port has an overcurrent condition. if set to logic 0, this port does not have an overcurrent condition. this bit will automatically change from a logic 1 to a logic 0 when the overcurrent condition is removed. 3 pedc port enable/disable change : a logic 1 means the port enabled/disabled status has changed. a logic 0 means no change. default = 0. for the root hub, this bit gets set only when a port is disabled due to the appropriate conditions existing at the eof2 point (see chapter 11 of the usb speci?cation rev. 2.0 for the de?nition of a port error). software clears this bit by setting it. [1] table 117: portsc 1, 2, 3, 4 register: bit description continued bit symbol description
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 87 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. [1] these ?elds read logic 0, if the port power (pp) (bit 12 in register portsc 1,2,3,4) is logic 0. 2 ped port enabled/disabled : a logic 1 means enable. a logic 0 means disable. default = 0. ports can only be enabled by the host controller as a part of the reset and enable sequence. software cannot enable a port by writing a logic 1 to this ?eld. the host controller will only set this bit when the reset sequence determines that the attached device is a high-speed device. ports can be disabled by either a fault condition or by host software. note that the bit status does not change until the port state has actually changed. there may be a delay in disabling or enabling a port due to other host controller and bus events. when the port is disabled, downstream propagation of data is blocked on this port, except for reset. [1] 1 ecsc connect status change : a logic 1 means change in eccs (current connect status). a logic 0 means no change. default = 0. this bit indicates a change has occurred in the ports eccs (current connect status). the host controller sets this bit for all changes to the port device connect status, even if system software has not cleared an existing connect status change. for example, the insertion status changes twice before system software has cleared the changed condition, hub hardware will be setting an already-set bit (that is, the bit will remain set). software clears this bit setting it. [1] 0 eccs current connect status : logic 1 indicates a device is present on port. logic 0 indicates no device is present. default = 0. this value re?ects the current state of the port and may not correspond directly to the event that caused the ecsc (connect status change) bit to be set. [1] table 117: portsc 1, 2, 3, 4 register: bit description continued bit symbol description
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 88 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 12. power consumption table 118 shows the power consumption when two ports are active, that is, the sel2ports pin is connected to v dd . [1] when one or two full-speed or low-speed power devices are connected, the power consumption is comparable with the power consumption when no high-speed devices are connected (there is a difference of approximately 1 ma). table 119 shows the power consumption when four ports are active, that is, the sel2ports pin is connected to ground. table 118: power consumption when sel2ports is high power pins group conditions typ unit total power v aux +av aux +av aux_pll +v dd no devices connected to the isp1561 [1] 151 ma one high-speed device connected to the isp1561 181 ma two high-speed devices connected to the isp1561 209 ma auxiliary power v aux +av aux +av aux_pll no devices connected to the isp1561 [1] 98 ma one high-speed device connected to the isp1561 124 ma two high-speed devices connected to the isp1561 153 ma v dd no devices connected to the isp1561 [1] 53 ma one high-speed device connected to the isp1561 56 ma two high-speed devices connected to the isp1561 56 ma table 119: power consumption when sel2ports is low power pins group conditions typ unit total power v aux +av aux +av aux_pll +v dd no devices connected to the isp1561 [1] 207 ma one high-speed device connected to the isp1561 236 ma two high-speed devices connected to the isp1561 261 ma three high-speed devices connected to the isp1561 288 ma four high-speed devices connected to the isp1561 314 ma auxiliary power v aux +av aux +av aux_pll no devices connected to the isp1561 [1] 151 ma one high-speed device connected to the isp1561 178 ma two high-speed devices connected to the isp1561 206 ma three high-speed devices connected to the isp1561 232 ma four high-speed devices connected to the isp1561 259 ma av aux no devices connected to the isp1561 [1] 7ma one high-speed device connected to the isp1561 33 ma two high-speed devices connected to the isp1561 58 ma three high-speed devices connected to the isp1561 84 ma four high-speed devices connected to the isp1561 108 ma av aux_pll no devices connected to the isp1561 3 ma one high-speed device connected to the isp1561 3 ma two high-speed devices connected to the isp1561 3 ma three high-speed devices connected to the isp1561 3 ma four high-speed devices connected to the isp1561 3 ma
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 89 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. [1] when one to four full-speed or low-speed power devices are connected, the power consumption is comparable with the power consumption when no high-speed devices are connected (there is a difference of only about 3 ma). [1] when i 2 c-bus and legacy support are present. [2] when i 2 c-bus and legacy support are not present. v dd no devices connected to the isp1561 56 ma one high-speed device connected to the isp1561 57 ma two high-speed devices connected to the isp1561 57 ma three high-speed devices connected to the isp1561 57 ma four high-speed devices connected to the isp1561 57 ma table 119: power consumption when sel2ports is low continued power pins group conditions typ unit table 120: power consumption: s1 and s3 power state typ unit s1 130 ma s3 1.5 [1] ma 0.52 [2] ma
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 90 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 13. limiting values [1] valid only when the supply voltage is present [2] test method available on request. 14. recommended operating conditions [1] valid only when the supply voltage is present table 121: absolute maximum ratings in accordance with the absolute maximum rating system (iec 60134). symbol parameter conditions min max unit v dd supply voltage - 0.5 +4.6 v v aux auxiliary voltage - 0.5 +4.6 v av aux analog auxiliary voltage (3.3 v); supply voltage - 0.5 +4.6 v av aux_pll analog auxiliary voltage (3.3 v); supply voltage for pll - 0.5 +4.6 v v i(5v) input voltage on 5 v buffers 3.0 v < v dd < 3.6 v [1] - 0.5 +6.0 v v i(3.3v) input voltage on 3.3 v buffers 3.0 v < v dd < 3.6 v - 0.5 +4.6 v i lu latch-up current v i < 0 or v i >v cc - 100 ma v esd electrostatic discharge voltage all pins (i li <1 m a) - 1000 +1000 v on pins dm1 to dm4, dp1 to dp4, and all gnd pins (i li <1 m a) [2] - 4000 +4000 v t stg storage temperature - 40 +125 c table 122: recommended operating conditions symbol parameter conditions min typ max unit v dd supply voltage 3.0 3.3 3.6 v v aux auxiliary voltage 3.0 3.3 3.6 v av aux analog auxiliary voltage (3.3 v); supply voltage 3.0 3.3 3.6 v av aux_pll analog auxiliary voltage (3.3 v); supply voltage for pll 3.0 3.3 3.6 v v i(5v) input voltage on 5 v buffers [1] 0 - 5.5 v v i(3.3v) input voltage on 3.3 v buffers 0 - v dd v t amb operating temperature - 40 - +85 c
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 91 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 15. static characteristics [1] all pins are 5 v tolerant. [1] all pins are 5 v tolerant. table 123: static characteristics: analog i/o pins (sda and scl) v dd = 3.0 to 3.6 v; t amb = -40 to +85 c; unless otherwise speci?ed. symbol parameter conditions min typ max unit v ih high-level input voltage 2.1 - - v v il low-level input voltage - - 0.9 v v hys hysteresis voltage 0.15 - - v v ol low-level output voltage i ol = 3 ma - - 0.4 v table 124: static characteristics: digital pins [1] v dd = 3.0 to 3.6 v; t amb = -40 to +85 c; unless otherwise speci?ed. symbol parameter conditions min typ max unit v ih high-level input voltage 2.0 - - v v il low-level input voltage - - 0.8 v v hys hysteresis voltage 0.4 - 0.7 v v ol low-level output voltage i ol = 3 ma - - 0.4 v v oh high-level output voltage 2.4 - - v table 125: static characteristics: pci interface block [1] v dd = 3.0 to 3.6 v; t amb = -40 to +85 c; unless otherwise speci?ed. symbol parameter conditions min typ max unit v ih high-level input voltage 2.0 - 5.5 v v il low-level input voltage 0 - 0.9 v v ipu input pull-up voltage 2.1 - - v i il input leakage current 0 < v in philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 92 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. [1] hs termination resistor disabled, pull-up resistor connected. only during reset, when both hub and device are capable of hig h-speed operation. v hsdsc disconnect detection threshold (differential signal amplitude) disconnect detected 625 - - mv disconnect not detected - - 525 mv v hscm data signaling common mode voltage range - 50 - +500 mv output levels for high-speed v hsoi idle state - 10 - +10 mv v hsoh data signaling high 360 - 440 mv v hsol data signaling low - 10 - +10 mv v chirpj chirp j level (differential voltage) 700 [1] - 1100 mv v chirpk chirp k level (differential voltage) - 900 [1] - - 500 mv input levels for full-speed and low-speed v ih high-level input voltage (drive) 2.0 - - v v ihz high-level input voltage (?oating) 2.7 - 3.6 v v il low-level input voltage - - 0.8 v v di differential input sensitivity | v dp -v dm | 0.2 - - v v cm differential common mode range 0.8 - 2.5 v output levels for full-speed and low-speed v oh high-level output voltage 2.8 - 3.6 v v ol low-level output voltage 0 - 0.3 v v osei sei 0.8 - - v v crs output signal crossover point voltage 1.3 - 2.0 v table 126: static characteristics: usb interface block (pins dm1 to dm4 and dp1 to dp4) continued v dd = 3.0 to 3.6 v; t amb = -40 to +85 c; unless otherwise speci?ed. symbol parameter conditions min typ max unit
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 93 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 16. dynamic characteristics [1] recommended accuracy of the clock frequency is 500 ppm for the crystal and oscillator. the oscillator should have 3.3 v power supply. [2] suggested values for external capacitors when using a crystal are 22 to 27 pf. [1] all pins are 5 v tolerant. [2] the bus capacitance (c b ) is speci?ed in pf. to meet the speci?cation for v ol and the maximum rise time (300 ns), use an external pull-up resistor with r max = 850/c b k w and r min =(v dd - 0.4)/3 k w . [1] all pins are 5 v tolerant. [2] standard load is 10 pf together with a pull-up and pull-down resistor of 10 k w . table 127: dynamic characteristics: system clock timing symbol parameter conditions min typ max unit crystal oscillator f clk clock frequency [1] crystal [2] - 12 - mhz oscillator - 48 - mhz external clock input d clock duty cycle - 50 - % table 128: dynamic characteristics: analog i/o pins (sda and scl) [1] v dd = 3.0 to 3.6 v; t amb = -40 to +85 c; unless otherwise speci?ed. symbol parameter conditions min typ max unit t f output fall time v ih to v il 10 philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 94 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. table 131: dynamic characteristics: full-speed source electrical characteristics v dd = 3.0 to 3.6 v; t amb = -40 to +85 c; unless otherwise speci?ed. symbol parameter conditions min typ max unit driver characteristics t fr rise time c l =50pf; 10% to 90% of | v oh - v ol | 4 - 20 ns t ff fall time c l =50pf; 90% to 10% of | v oh - v ol | 4 - 20 ns t frfm differential rise and fall time matching 90 - 111.1 % z drv driver output resistance for the driver that is not high-speed capable 28 - 44 w data timing: see figure 8 t fdeop source jitter for differential transition to seo transition full-speed timing - 2- 5 ns t feopt source se0 interval of eop 160 - 175 ns t feopr receiver se0 interval of eop 82 - - ns t ldeop source jitter for differential transition to seo transition low-speed timing - 40 - 100 ns t leopt source se0 interval of eop 1.25 - 1.5 m s t leopr receiver se0 interval of eop 670 - - ns t fst width of se0 interval during the differential transaction --14ns table 132: dynamic characteristics: low-speed source electrical characteristics v dd = 3.0 to 3.6 v; t amb = -40 to +85 c; unless otherwise speci?ed. symbol parameter conditions min typ max unit driver characteristics t lr rise time 75 - 300 ns t lf fall time 75 - 300 ns t lrfm differential rise and fall time matching 90 - 125 %
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 95 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 17. timing [1] req# and gnt# are point-to-point signals. gnt# has a setup of 10 ns; req# has a setup of 12 ns. all others are bus signals. table 133: pci clock and io timing symbol parameter conditions min typ max unit pci clock timing; see figure 5 t cyc clk cycle time 30 - - ns t high clk high time 11 - - ns t low clk low time 11 - - ns sr clk clk slew rate 1 - 4 v/ns sr rst# rst# slew rate 50 - - mv/ns pci input timing; see figure 6 t su input setup time to clk (bus signal) 7--ns t su(ptp) input setup time to clk (point-to-point) [1] 10--ns t h input hold time for clk 10 - - ns pci output timing; see figure 7 t val clk to signal valid delay (bus signal) 2 - 11 ns t val(ptp) clk to signal valid delay (point-to-point) [1] 2 - 12 ns t on ?oat to active delay 2 - - ns t off active to ?oat delay - - 28 ns pci reset timing t rst-clk reset active time after clk stable 100 - - m s t rst reset active time after clk stable 1--ms fig 5. pci clock. minimum value 0.4v dd tcyc mbl341 t high t low 0.6v dd 0.5v dd 0.4v dd 0.3v dd 0.2v dd
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 96 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. fig 6. pci input timing. mbl344 0.6v dd 0.2v dd 0.6v dd 0.2v dd t su; t su(ptp) t h 0.4v dd 0.4v dd inputs valid clk input delay fig 7. pci output timing. mbl345 0.6v dd 0.2v dd 0.4v dd 0.615v dd (falling edge) 0.285v dd (rising edge) output output delay clk t off t on t val ; t val(ptp) t period is the bit duration corresponding with the usb data rate. full-speed timing symbols have a subscript pre?x f, low-speed timings a pre?x l. fig 8. usb source differential data-to-eop transition skew and eop width. mgr776 t period differential data lines crossover point differential data to se0/eop skew n t period + t deop source eop width: t eopt receiver eop width: t eopr crossover point extended + 3.3 v 0 v
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 97 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 18. package outline fig 9. lqfp128 package outline. unit a 1 a 2 a 3 b p ce (1) eh e ll p z y w v q references outline version european projection issue date iec jedec eiaj mm 0.15 0.05 1.45 1.35 0.25 0.23 0.13 0.20 0.09 14.1 13.9 0.4 16.15 15.85 0.95 0.65 7 0 o o 0.07 0.2 0.08 1.0 dimensions (mm are the original dimensions) note 1. plastic or metal protrusions of 0.25 mm maximum per side are not included. 0.75 0.45 sot420-1 ms-026 97-08-14 99-11-03 d (1) (1) (1) 14.1 13.9 h d 16.15 15.85 e z 0.95 0.65 d 0 5 10 mm scale b p e q e a 1 a l p detail x l (a ) 3 b c b p e h a 2 d h v m b d z d a z e e v m a x y w m w m a max. 1.6 lqfp128: plastic low profile quad flat package; 128 leads; body 14 x 14 x 1.4 mm sot420-1 96 97 pin 1 index 65 64 33 32 1 128
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 98 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 19. soldering 19.1 introduction to soldering surface mount packages this text gives a very brief insight to a complex technology. a more in-depth account of soldering ics can be found in our data handbook ic26; integrated circuit packages (document order number 9398 652 90011). there is no soldering method that is ideal for all surface mount ic packages. wave soldering can still be used for certain surface mount ics, but it is not suitable for ?ne pitch smds. in these situations re?ow soldering is recommended. 19.2 re?ow soldering re?ow soldering requires solder paste (a suspension of ?ne solder particles, ?ux and binding agent) to be applied to the printed-circuit board by screen printing, stencilling or pressure-syringe dispensing before package placement. several methods exist for re?owing; for example, convection or convection/infrared heating in a conveyor type oven. throughput times (preheating, soldering and cooling) vary between 100 and 200 seconds depending on heating method. typical re?ow peak temperatures range from 215 to 250 c. the top-surface temperature of the packages should preferable be kept below 220 c for thick/large packages, and below 235 c small/thin packages. 19.3 wave soldering conventional single wave soldering is not recommended for surface mount devices (smds) or printed-circuit boards with a high component density, as solder bridging and non-wetting can present major problems. to overcome these problems the double-wave soldering method was speci?cally developed. if wave soldering is used the following conditions must be observed for optimal results: ? use a double-wave soldering method comprising a turbulent wave with high upward pressure followed by a smooth laminar wave. ? for packages with leads on two sides and a pitch (e): C larger than or equal to 1.27 mm, the footprint longitudinal axis is preferred to be parallel to the transport direction of the printed-circuit board; C smaller than 1.27 mm, the footprint longitudinal axis must be parallel to the transport direction of the printed-circuit board. the footprint must incorporate solder thieves at the downstream end. ? for packages with leads on four sides, the footprint must be placed at a 45 angle to the transport direction of the printed-circuit board. the footprint must incorporate solder thieves downstream and at the side corners.
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 99 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. during placement and before soldering, the package must be ?xed with a droplet of adhesive. the adhesive can be applied by screen printing, pin transfer or syringe dispensing. the package can be soldered after the adhesive is cured. typical dwell time is 4 seconds at 250 c. a mildly-activated ?ux will eliminate the need for removal of corrosive residues in most applications. 19.4 manual soldering fix the component by ?rst soldering two diagonally-opposite end leads. use a low voltage (24 v or less) soldering iron applied to the ?at part of the lead. contact time must be limited to 10 seconds at up to 300 c. when using a dedicated tool, all other leads can be soldered in one operation within 2 to 5 seconds between 270 and 320 c. 19.5 package related soldering information [1] for more detailed information on the bga packages refer to the (lf)bga application note (an01026); order a copy from your philips semiconductors sales of?ce. [2] all surface mount (smd) packages are moisture sensitive. depending upon the moisture content, the maximum temperature (with respect to time) and body size of the package, there is a risk that internal or external package cracks may occur due to vaporization of the moisture in them (the so called popcorn effect). for details, refer to the drypack information in the data handbook ic26; integrated circuit packages; section: packing methods . [3] these packages are not suitable for wave soldering. on versions with the heatsink on the bottom side, the solder cannot penetrate between the printed-circuit board and the heatsink. on versions with the heatsink on the top side, the solder might be deposited on the heatsink surface. [4] if wave soldering is considered, then the package must be placed at a 45 angle to the solder wave direction. the package footprint must incorporate solder thieves downstream and at the side corners. [5] wave soldering is suitable for lqfp, qfp and tqfp packages with a pitch (e) larger than 0.8 mm; it is de?nitely not suitable for packages with a pitch (e) equal to or smaller than 0.65 mm. [6] wave soldering is suitable for ssop and tssop packages with a pitch (e) equal to or larger than 0.65 mm; it is de?nitely not suitable for packages with a pitch (e) equal to or smaller than 0.5 mm. table 134: suitability of surface mount ic packages for wave and re?ow soldering methods package [1] soldering method wave re?ow [2] bga, lbga, lfbga, sqfp, tfbga, vfbga not suitable suitable dhvqfn, hbcc, hbga, hlqfp, hsqfp, hsop, htqfp, htssop, hvqfn, hvson, sms not suitable [3] suitable plcc [4] , so, soj suitable suitable lqfp, qfp, tqfp not recommended [4][5] suitable ssop, tssop, vso, vssop not recommended [6] suitable
philips semiconductors isp1561 usb pci host controller product data rev. 01 06 february 2003 100 of 102 9397 750 10015 ? koninklijke philips electronics n.v. 2003. all rights reserved. 20. revision history table 135: revision history rev date cpcn description 01 20030206 product data (9397 75010015)
9397 750 10015 philips semiconductors isp1561 usb pci host controller ? koninklijke philips electronics n.v. 2003. all rights reserved. product data rev. 01 06 february 2003 101 of 102 contact information for additional information, please visit http://www.semiconductors.philips.com . for sales of?ce addresses, send e-mail to: sales.addresses@www.semiconductors.philips.com . fax: +31 40 27 24825 21. data sheet status [1] please consult the most recently issued data sheet before initiating or completing a design. [2] the product status of the device(s) described in this data sheet may have changed since this data sheet was published. the l atest information is available on the internet at url http://www.semiconductors.philips.com. [3] for data sheets describing multiple type numbers, the highest-level product status determines the data sheet status. 22. de?nitions short-form speci?cation the data in a short-form speci?cation is extracted from a full data sheet with the same type number and title. for detailed information see the relevant data sheet or data handbook. limiting values de?nition limiting values given are in accordance with the absolute maximum rating system (iec 60134). stress above one or more of the limiting values may cause permanent damage to the device. these are stress ratings only and operation of the device at these or at any other conditions above those given in the characteristics sections of the speci?cation is not implied. exposure to limiting values for extended periods may affect device reliability. application information applications that are described herein for any of these products are for illustrative purposes only. philips semiconductors make no representation or warranty that such applications will be suitable for the speci?ed use without further testing or modi?cation. 23. disclaimers life support these products are not designed for use in life support appliances, devices, or systems where malfunction of these products can reasonably be expected to result in personal injury. philips semiconductors customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify philips semiconductors for any damages resulting from such application. right to make changes philips semiconductors reserves the right to make changes in the products - including circuits, standard cells, and/or software - described or contained herein in order to improve design and/or performance. when the product is in full production (status production), relevant changes will be communicated via a customer product/process change noti?cation (cpcn). philips semiconductors assumes no responsibility or liability for the use of any of these products, conveys no licence or title under any patent, copyright, or mask work right to these products, and makes no representations or warranties that these products are free from patent, copyright, or mask work right infringement, unless otherwise speci?ed. 24. licenses 25. trademarks goodlink is a trademark of koninklijke philips electronics n.v. microsoft is a registered trademark of microsoft corp. nt is a registered trademark of microsoft corp. windows is a registered trademark of microsoft corp. level data sheet status [1] product status [2][3] de?nition i objective data development this data sheet contains data from the objective speci?cation for product development. philips semiconductors reserves the right to change the speci?cation in any manner without notice. ii preliminary data quali?cation this data sheet contains data from the preliminary speci?cation. supplementary data will be published at a later date. philips semiconductors reserves the right to change the speci?cation without notice, in order to improve the design and supply the best possible product. iii product data production this data sheet contains data from the product speci?cation. philips semiconductors reserves the right to make changes at any time in order to improve the design, manufacturing and supply. relevant changes will be communicated via a customer product/process change noti?cation (cpcn). purchase of philips i 2 c components purchase of philips i 2 c components conveys a license under the philips i 2 c patent to use the components in the i 2 c system provided the system conforms to the i 2 c speci?cation de?ned by philips. this speci?cation can be ordered using the code 9398 393 40011.
? koninklijke philips electronics n.v. 2003. printed in the netherlands all rights are reserved. reproduction in whole or in part is prohibited without the prior written consent of the copyright owner. the information presented in this document does not form part of any quotation or contract, is believed to be accurate and reliable and may be changed without notice. no liability will be accepted by the publisher for any consequence of its use. publication thereof does not convey nor imply any license under patent- or other industrial or intellectual property rights. date of release: 06 february 2003 document order number: 9397 750 10015 contents philips semiconductors isp1561 usb pci host controller 1 general description . . . . . . . . . . . . . . . . . . . . . . 1 1.1 abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . 2 2 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 3 applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 4 ordering information . . . . . . . . . . . . . . . . . . . . . 4 5 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 5 6 pinning information . . . . . . . . . . . . . . . . . . . . . . 6 6.1 pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 6.2 pin description . . . . . . . . . . . . . . . . . . . . . . . . . 7 7 functional description . . . . . . . . . . . . . . . . . . 13 7.1 ohci host controller . . . . . . . . . . . . . . . . . . . 13 7.2 ehci host controller . . . . . . . . . . . . . . . . . . . 13 7.3 dynamic port-routing logic . . . . . . . . . . . . . . . 13 7.4 hi-speed usb analog transceivers . . . . . . . . 13 7.5 led indicators for downstream ports . . . . . . . 13 7.6 power management . . . . . . . . . . . . . . . . . . . . 14 7.7 legacy support . . . . . . . . . . . . . . . . . . . . . . . . 14 7.8 phase-locked loop (pll) . . . . . . . . . . . . . . . 14 8 pci . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 8.1 pci interface . . . . . . . . . . . . . . . . . . . . . . . . . . 14 8.2 pci con?guration registers . . . . . . . . . . . . . . . 15 9i 2 c-bus interface . . . . . . . . . . . . . . . . . . . . . . . 32 9.1 protocol. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 9.2 hardware connections . . . . . . . . . . . . . . . . . . 32 9.3 information loading from eeprom . . . . . . . . 33 10 power management . . . . . . . . . . . . . . . . . . . . . 33 10.1 pci bus power states . . . . . . . . . . . . . . . . . . . 33 10.2 usb bus states . . . . . . . . . . . . . . . . . . . . . . . . 34 11 usb host controller registers . . . . . . . . . . . . 34 11.1 ohci usb host controller operational registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 11.2 usb legacy support registers . . . . . . . . . . . . . 65 11.3 ehci controller capability registers. . . . . . . . . 69 11.4 operational registers of enhanced usb host controller. . . . . . . . . . . . . . . . . . . . . . . . 73 12 power consumption. . . . . . . . . . . . . . . . . . . . . 88 13 limiting values. . . . . . . . . . . . . . . . . . . . . . . . . 90 14 recommended operating conditions. . . . . . . 90 15 static characteristics. . . . . . . . . . . . . . . . . . . . 91 16 dynamic characteristics . . . . . . . . . . . . . . . . . 93 17 timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 18 package outline . . . . . . . . . . . . . . . . . . . . . . . . 97 19 soldering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 19.1 introduction to soldering surface mount packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 19.2 re?ow soldering . . . . . . . . . . . . . . . . . . . . . . . 98 19.3 wave soldering. . . . . . . . . . . . . . . . . . . . . . . . 98 19.4 manual soldering . . . . . . . . . . . . . . . . . . . . . . 99 19.5 package related soldering information . . . . . . 99 20 revision history . . . . . . . . . . . . . . . . . . . . . . . 99 21 data sheet status. . . . . . . . . . . . . . . . . . . . . . 100 22 de?nitions . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 23 disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . 100 24 licenses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 25 trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . 100


▲Up To Search▲   

 
Price & Availability of ISP1561BM

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X